Home › Forums › ACF PRO › Custom HTML in an Edit Page › Reply To: Custom HTML in an Edit Page
I’m still not sure when your getting the image or what you’re doing with it. I didn’t see anything about submitting the post so I am assuming that you want to get the image url and add that image to the text field. PHP will only do part of this. You’ll need to do an AJAX request, that request will call a function that is run in PHP to get the URL and return it. Since ACF is going to display that image this AJAX request is already done by ACF, but I don’t know enough about how this works in ACF to tell you how to get that value. It would probably take me several hours of trial and error to figure that out.
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.