Support » Plugin: Advanced Custom Fields » [Plugin: Advanced Custom Fields] Image URL not loading correctly

  • Resolved linds


    EDIT: This has been resolved. I had forgotten to set the field to “Image URL” and instead it was set to “Image Object.” /EDIT

    Images are not loading. I am trying to display my image fields in my WordPress page template, and the image URL is returned incorrectly. This is only happening to image fields.

    This is what I’m using to load the image:

    <img src="<?php the_field('doctor_photo'); ?>">

    And this is what it’s returning in the source code:

    <img src="35, , doctor1, , ,, Array">

    (35 is the Id and doctor1 is the image title)

    Do you have any idea what’s going wrong and how to fix it? I deactivated all other plugins and reverted to the Twenty Ten theme, and this issue is still happening.

  • The topic ‘[Plugin: Advanced Custom Fields] Image URL not loading correctly’ is closed to new replies.