Support

Account

Home Forums General Issues Display thumbnail in post Reply To: Display thumbnail in post

  • Hi @marek-234

    Hmm.. what return value have you set for the image field?
    You could just set it to return an image object then do this:

    
    <?php $image = get_field('photo_1'); ?>
    <img src="<?php echo $image['sizes']['large']; ?>" width="<?php echo $image['sizes']['large-width']; ?>" height="<?php echo $image['sizes']['large-height']; ?>" alt="<?php echo $image['alt']; ?>" />