About the plugin:
This is a nice and amazing, lightweight jQuery plugin for creating fluid galleries as seen on Flickr and Google Images.
Features:
- lightweight: 1.4 kB of JavaScript – less than 0.7 kB gzipped
- source images/objects can have any size
- works with more than just images, e.g. videos, iframes and plain text
- responsive
- equal margins between images controlled via CSS
- no cropping or reordering
- AJAX ready, e.g. for infinite scrolling
- support for lazy loading of images and iframe contents
- layout options to control e.g. the maximum number of rows – or whether or not to display an incomplete (last) row.