Source images used in this gallery have different sizes and proportions. They are cropped and scaled with SVG. This technique has wide cross-browser support. You can find more informations here. Gallery is driven by tiny javascript with no dependencies.


Lightweight (less than 6kB) vanilla javascript expanding preview/details for any kind of CSS grid gallery (product list). Similar to the effect seen, for example, on Google Images search result.

For more detailed informations please visit: GITHUB repository