Support

Account

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

  • Hi @skinny_mv

    Thanks for the post.

    I believe you will need to add the following code to get the image data on your template:

    <?php 
    
    $image = get_field('instructor-image');
    
    if( !empty($image) ): ?>
    
    	<img src="<?php echo $image['url']; ?>" alt="<?php echo $image['alt']; ?>" />
    
    <?php endif; ?>