Support

Account

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.