I am currently running the latest version of WP on localhost/MAMP. I am using the Advanced Custom Fields plugin and the Custom Post Type UI plugin.
I set up a field called Images for a custom post. When the Field Type on the custom fields edit page is set to “images”, the images do not load to the page. Instead, a string of information prints out that looks like database info. For example:
When I set the Field Type to “WYSIWYG”, then the images load without any problem. I have debugged my code and the other plugin, but I think the issue may be related to the custom fields.
This is one of my two favorite plugins, btw. I include it in every project, right along with Custom Post Type UI. This post is not meant as a complaint at all. I am a huge fan, and I hope that if it is the plugin I am having issues with, then we can find a way to resolve it.
I had the same problem. Did you try to set the image in the wp-backend where you define the fields to image-url? Because with image-object it’s not working for me either, but with image-url it works perfectly 😀
Viewing 5 posts - 1 through 5 (of 5 total)
The topic ‘Images not loading to page’ is closed to new replies.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users