Hi there,
I had the same problem and I just found a solution using PRETTYPHOTO script
First.
-In my file there is a loop that calls the images for filterable.
-Prety photo simply works by linking the thumbnail to the full size and adding a “rel” attribute to the link.
<a href="#" rel="prettyPhoto"><img src="thumnail_link"></a>
To get the url of the full size of the post’s featured image add the following to your loop:
<?php $src = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), false, ''); ?>
-this stores the url in the variable $src
then call the variable in your link as follows:
<a href="<?php echo $src[0]; ?>" rel="prettyPhoto"><?php the_post_thumbnail( array(200, 200) ); ?></a>
Hope this helps!