image-gallery
A straight forward to use, simple image gallery.
Features
- Automatic image layouting (google images style)
- Lazy loading of full size images (via
data-full-src
) - Responsive
- Lightbox (optional)
Usage
Add the style sheet:
Wrap your images inside a .image-gallery
container:
<!-- data-full-src is optional --> <!-- may specify pre-computed dimensions via data-dimensions="width,height" -->
Instantiate the gallery for one or more container elements:
Extend (e.g. add Lightbox)
You can easily integrate other components such as a light box.
License
MIT