Home › Forums › General Issues › Image returns ID no matter what Return Value is set › Reply To: Image returns ID no matter what Return Value is set
NO pre_get_posts stuff or other plugins here, but when I found this happening, I retraced my steps:-
Turns out it was a field that in -initially- saved as a text field. (I had realised the mistake and immediately switched it over be an image field).
It was only later when the image field just spitting out ID’s that I made the connection that it was a field where the field type had been switched over.
To fix I just assumed this was a bug, and ditched that field name, created a new image field from scratch with a slightly different name. Note, this was an image field contained in flexible content field, I don’t know if that makes any difference, because i’m pretty sure I’m made the field type mistake before and this didn’t happen.
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.