Home › Forums › General Issues › Add Image field getting URL and array data › Reply To: Add Image field getting URL and array data
Try this:
<pre><?php print_r( get_field('logo_thumbnail', 'product_brand_' . $term->term_id) ); ?> </pre>
This should let you see all of the data within your image field – paste it here if you feel like it.
Also check your field settings where you add the field to a field group in the ACF admin. There are options for returning Image Object, Image URL, and Image ID – which one do you have selected?
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.