Hi
I’m not sure what you code is doing, so forgive me if this is off key but I think you want something like this:
while( have_rows('repeater_field_name') ): the_row();
$attachment_id = get_sub_field('your image field'); $imageS = wp_get_attachment_image_src( $attachment_id, 'thumbnail' );
$imageF = wp_get_attachment_image_src( $attachment_id, 'full' );
?>
<a href="<?=imageF[0];?>"><img src="<?=imageS[0];?>"></a>
<?php
endwhile;
James