I am a WordPress veteran and have built some really highly customized sites using WordPress as if it were a framework almost and I love it. I have not really ever had to use the Gallery feature to much though.
On my current client project I need to utilize the gallery. I have added a simple plugin to open the gallery thumbnails in a colorbox lightbox instead of having to leave the page everytime you click a gallery image. That works great except I have one problem. The image it loads and the image my gallery thumbnails link to is the medium or large image instead of the
FULL size image.
Below is the Gallery shortcode I am using...
[gallery columns="4" ids="124,23,22,18,19,21,20,16,17,15,14,149,150,151,152,153,154" size="thumbnail" link="file"]
I had hoped that
link="file" would link to the full size image but instead it links to this sized image...
The image that I NEED it to link to is this one...
as you can see it excludes the ending
Is there an easy way about doing this? Or do I need to crreate some sort of filter and manually remove the
-300x290.png last 12 characters from the URL and then add back on the file extension?
I should mention I am using WooCommerce for the first time on this site, it might affect galleries, I just thought about that.
Any help would greatly be appreciated, thanks in advance