Hi Elliot! After looking and playing around for a few hours I managed to make this work.
Ill post how for anyone that may be looking at this in the future.
I re-uploaded all my images to WP and into my page and changed my code to –
<!-- Masonry Images --> <div class="masonry"> <?php if(get_field('images')): ?> <?php while(has_sub_field('images')): ?> <?php $image = wp_get_attachment_image_src(get_sub_field('image'), 'full'); ?> <?php $thumb = wp_get_attachment_image_src(get_sub_field('image'), 'thumbnail'); ?> <div class="item"> <a href="<?php echo $image; ?>" class="fancybox" rel="gallery_group"><img src="<?php echo $thumb; ?>" /></a> </div> <?php endwhile; ?> <?php endif; ?> </div><!-- End Masonry -->
I then used Elliots advice of change the output to Image ID and the thumbnails then displayed!
I’d like to thank Elliot for all his help and hope anyone else with this issue found this useful.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
The ACF site is currently experiencing some issues.— Advanced Custom Fields (@wp_acf) September 29, 2022
We apologize for the inconvenience and we are working hard to get it back up and running as soon as possible.
© 2022 Advanced Custom Fields.