I do not suggest using image sprite for the gallery. If you ever want to change something, you need to change the sprite. Now make, say, five changes on your site and 5 modifications of the sprite. To do this, it is better to use properly optimized, independent images. Thus, you simply change the order of appearance with ease, and also change the images to the case in each case.
Go to this URL if you need heavy lossless compression:
http://kraken.io/
I use it mainly for any heavy project I'm working on.
Hope this helps G
source share