Another quick WordPress snippet. Assuming that you have fancybox linked up to your WordPress install you can add the following to your theme's functions.php file to open all images that are linked to their full size image with jQuery Fancy Box:-