This reply has been marked as private.
Is there a reason no one wants to touch this?
in the screen that show the format for custom fields, do you have “the Return Value” set to “image url”? –> if you switch to “Image id” what do you get?
This is the syntax i used for displaying an image:
<img src="<?php the_field('site_plan'); ?>" alt="" />
site_plan
is the field slug.
It’s not totally clear that it’s displaying the text fields. Can you confirm?
I saw this problem once when I changed the name of a custom field in WP. The old slug stays the same in the DB.
Did you change the name of the field after you added it?
May I ask:
what does the source code in the browser looks like? Is it filling in any field or an incorrect path to the file?
if it looks like this, the code is not looking at the right custom field:
![]()