hi @decard,
Shortpixel will optimise thumbs for both thumbnails auto-generated by WP, and also thumbs generated by FooGallery.
We have no control over the thumbs WP creates when you upload a new image to the media library, but in FooGallery, we control certain thumbs based on the settings you have chosen for your gallery.
The “Thumbnail Size” setting will be the main one, but also the Retina settings you have chosen for the gallery.
Example : if you have a thumbnail size of 100 x 100, then FooGallery will create a thumbnail which is 100×100 to be shown in the gallery. If you have retina 2x and 3x selected, then there will also be a 200×200 and 300×300 thumbnail generated to cater for retina displays.
Also, if you changed your thumbnail size many times when setting up your gallery, then that would also cause more thumbs to be generated at the different retina levels. If that is the case, then it is a good idea to clear thumbnails, as Elvis suggested. Which will clear out any unused thumbs. That button is found on the gallery edit page.
I suggest you do not choose all the retina options, which will reduce the number of thumbs.
@elviiso – let’s create some more detailed docs around this, as I am sure this will be useful info for others with a similar problem