Replace default gallery item from <img> to <a> for Fancybox/Lightbox support