Skip to content
a modern photo / video gallery and lightbox.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist [ci skip] Mar 22, 2019
src v2.4.2 Mar 22, 2019
.gitattributes Update .gitattributes Jan 15, 2017
.gitignore Create .gitignore Mar 13, 2019
.travis.yml Update .travis.yml Nov 3, 2017 Rename CONTRIBUTING to Jul 27, 2017 Update Mar 12, 2019
bower.json Update bower.json Mar 22, 2019 Update Mar 22, 2019
gruntfile.js Update gruntfile.js Mar 11, 2019


nanogallery2 is a must have gallery and lightbox. Strengths of nanogallery2 include rich UI interactions, multiple responsive layouts, swipe and zoom gestures, multi-level albums, an HTML page generator and limitless options. Setup and use are simple. The documentation includes tutorials, samples and ready to use HTML pages.


Build Status Twitter

Documentation, Demonstrations and Tutorials

Check the homepage of the projet

nanogallery2 youtube demo

Some from many features

- Thumbnail display animations

- Thumbnails hover effects, photo albums, lightbox, social sharing

- Multiple layouts, builder for online testing

- Content source : self hosted photos, Flickr, Google Photos

- Shopping cart

- keyword filtering

- blurred images for thumbnail preview

- API, callbacks, events

- Endless customization


HTML markup configuration example:

  <div id="my_nanogallery2" 
    data-nanogallery2='{ "userID": "34858669@N00", "kind": "flickr", "thumbnailHeight": 150, "thumbnailWidth": 150 }'>

Package managers

npmjs: npm install nanogallery2


Dual licenced:

  • GPLv3 for personal or open source projects with GPLv3 license
  • Commercial license for use in a revenue-generating product


  • Javascript must be enabled
  • jQuery 1.12.4+


Many thanks to these contributors for their work on nanoGALLERY, nanogallery2, nanoPhotosProvider, nanoPhotosProvider2 or nanogp:

Victor A. Banuelos, Raphaël Renaudon, antonio r., Daniel Eck, Dio Vayne, Sean Kenny, eae710, Jeff Mills, Andrea Grassi, AlexRed Alessandro Rossi, Giovanni Chiodi, Ruplahlava, EelcoA, eae710

Many thanks to these technology contributors:

Many thanks to BrowserStack for their testing services!

You can’t perform that action at this time.