Yes but I don't say "compress" the original image, I say to upload,make a resized copy for thumbnails, and after that, erase the original.
And my idea was to change the link when we click on the thumbnail, in the gallery, that normally links to the...