Support

Account

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

  • i think you should try this
    $image = get_field(‘photos’);

    if( !empty($image) ): ?>

    ” alt=”<?php echo $image[‘alt’]; ?>” />

    <?php endif; ?>