Support

Account

Home Forums General Issues Echo image field Reply To: Echo image field

  • Hi, am also having issues displaying an image, no error at all, this is the code I am using:
    <img src="<?php the_field('photos'); ?>" alt="" />

    But it displays a weird image path:
    <img src="59, , logo, , , image/png, http://url.com/wp-content/uploads/2018/02/logo.png, 100, 100, Array" />

    I tried the other codes from your site, but still, not pointing to the incorrect path, it adds extra data…

    I am a Drupal guy, sort of new to word press but picked it up pretty quick!

    Thanks
    Hector