Hi, I have a repeater field for images and I'm displaying the thumbnails like this:
<?php while(the_repeater_field('images')): ?>
<?php $thumb = wp_get_attachment_image_src(get_sub_field('image'), 'thumbnail'); ?>
">
" />
<?php endwhile; ?>
What I would like to do now is display only the thumbnail for the FIRST image.
Any help would be appreciated muchly.
<?php while(the_repeater_field('images')): ?>
<?php $thumb = wp_get_attachment_image_src(get_sub_field('image'), 'thumbnail'); ?>
">
" />
<?php endwhile; ?>
What I would like to do now is display only the thumbnail for the FIRST image.
Any help would be appreciated muchly.