Make your WordPress gallery link to a custom image size
Using the WordPress gallery shortcode and linking the gallery items to its media source, WordPress will always create a link to the full size image. For a project I needed to change this behaviour since the full size images uploaded by editors will usually be too large to be dealt with the way we want to.
We will be using galleries linking to large size images and displaying them in a fancybox.
« Read more about: Make your WordPress gallery link to a custom image size »