Home › Forums › Front-end Issues › Image not displaying › Reply To: Image not displaying
What is the return values setting of your image field?
Is your code incomplete?
To use what you are using the return value for your field needs to be set to URL
<img src="<?php $post_image = get_field('post_image'); echo $post_image; ?>">
or
<img src="<?php the_field('post_image'); ?>">
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.