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!
ACF’s Repeater field is a versatile solution for repeating content in #WordPress.
— Advanced Custom Fields (@wp_acf) December 29, 2022
What’s your favorite use case for the Repeater field?
What’s the weirdest thing you’ve ever used it for?
Let us know!👇
© 2023 Advanced Custom Fields.
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.