Home › Forums › ACF PRO › Post_object field with thumbnails › Reply To: Post_object field with thumbnails
I’ve investigated this further and find out that images are in place in the Ajax response which is returned after clicking on the Select2 control. So it’s probably something with the select2 itself.
EDIT:
The root of this problem is ACF Javascript decode_data
function (inside acf-input.js
file). It usesacf.decode()
which strips all the markup with.text()
function.
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.