Home › Forums › General Issues › Events Manager with Advanced Custom Fields – Return Image URL › Reply To: Events Manager with Advanced Custom Fields – Return Image URL
Is that exactly the code used to create the html for the image?
<img src="#_ATT{eventimage}" alt="Introbild Event" />
For image fields ACF only stores the ID of the image. The field settings tell it what to return. My guess is that the events plugin is just getting what is stored in the database.
If this is the case then there are a couple of choices, maybe.
the first would be to get the value from ACF before calling the above function and use the value returned from that for your code.
If you can’t do that then your only hope is that there is a hook in the event plugin that will let you filter the content that is used for the image. I’m not familiar with the plugin and the hooks it provides.
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.