I have created a page template that displays the featured image for all posts of a certain custom post type.
It uses a normal loop that is querying that specific custom post type. The thumbnails are being displayed using <?php the_post_thumbnail('project-thumb'); ?>
I now want to use a lightbox to display the rest of the images in the post. I believe that I need to use <?php wp_get_attachment_image_src(); ?>
For some reason I can't quite get my head around it. Can anyone point me in the right direction? Thanks in advance!