nanogallery2 nanogallery2

Everything you need to add beautiful, modern and high quality photo galleries to your website.


Focused on providing the best experience to your visitors, nanogallery2 is a highly customizable javascript library.

Beautiful Photo Gallery

Style the layout to suit your personal needs, and add eye-catching effects.

Great Photo Viewer

Lightbox for highlighting your photos and for handy navigation.

Visual Builder

To generate your galleries without coding. You can also use HTML markup or javascript.

For Developers

If you are a developer, you may use nanogallery2 with javascript.

For Designers

If you are a designer, you'll love to use nanogallery2 just with HTML markup.

For Everyone

nanogallery2 is designed for everyone as the easiest and fastest way to create engaging photo galleries.


Some features our users love:


multiple gallery layouts and nice UI interactions
nanoPhotosProvider2: add-on for automatic generation of responsive thumbnails
Full featured documentation with samples and ready to use HTML templates
Build a gallery in minutes with the Visual Builder
Tons of new possibilities since the popular nanoGALLERY
Also available without any installation: nanogallery2 portable
Optional modules to display content from Flickr or Google Photos
Open source - fork on Github to help improving your favorite gallery


Download nanogallery2

Get new release alerts by following     @nanostudio_org

current release: nanogallery2 v1.5.0 -


Latest news

nanogallery2 v1.5.0 [Sept 7, 2017]
NEW swipe down to close lightbox
NEW thumbnail image dominant color in stacks
NEW thumbnail gradient color during image download
NEW lightbox option 'viewerImageDisplay' to manage image quality
NEW define multiple thumbnails per item
NEW enhanced lightbox image zoom and swipe
nanoPhotosProvider2 v1.1.0 [Aug. 1, 2017]
NEW new option to handle large images
NEW enhanced error management
NEW support Solaris web server
FIXED incorrect thumbnail size returned for grid layout
FIXED smisc minor bugs
nanogp v1.3.0 [Jul. 19, 2017]
NEW better privacy protection
nanogallery2 v1.4.0 [June 11, 2017]
NEW display thumbnail's images smoothly when fully downloaded
NEW gallery display animations
NEW tags support in nanoPhotosProvider2
NEW API functions to search in title and tags
NEW enhanced blurred image display during image download (thumbnails)
NEW enhanced thumbnails display animations
nanoPhotosProvider2 v1.0.0 [June 3, 2017]
NEW possibility to define the maximum image size used for display (full resolution version will be available for download)
NEW blurred image quality configurable
NEW enhanced cache management
NEW enhanced security
NEW tags on photos
nanoPhotosProvider2 v0.9.1 [May 12, 2017]
NEW PHP data provider for self hosted images
NEW generates responsive thumbnails automatically
NEW compatible with all layouts: grid, justified and cascading
NEW extraction of dominant colors (single color and gradient)
nanogallery2 v1.3.0 [May 11, 2017]
NEW Auto hide tools on image view after inactivity
NEW Support of nanoPhotosProvider2
NEW Display blurred image (dominant colors) during thumbnail image load
NEW New thumbnail display transitions
NEW Callback in HTML markup mode
nanogallery2 v1.2.1 [Mar 23, 2017]
FIXED misc bug fixes
nanogallery2 v1.2.0 [Mar 20, 2017]
NEW new thumbnails hover effects
NEW stack motions effects on thumbnails
nanogallery2 v1.1.0 [Mar 6, 2017]
NEW custom tools and buttons on thumbnails
NEW new callbacks and API events
nanogallery2 v1.0.0 [Feb 27, 2017]
NEW new settings
NEW new API options
NEW new callbacks and API events
nanogp v1.1.0 [Feb 20, 2017]
NEW Google Photos data provider
nanogallery2 v0.9.3 [Feb 18, 2017]
NEW improved image zoom
FIXED misc bug fixes
nanogallery2 v0.9.2a [Jan 31, 2017]
NEW support Android stock browser
FIXED misc bug fixes


nanogallery2 licensing

clear and simple



nanogallery2 has a dual-license model: a GPLv3 license for open source projects, and a proprietary commercial license.

Is you project Open Source ?

No     Yes

If you run a business and are using nanogallery2 in a revenue-generating product, it makes business sense to sponsor this development.

It ensures the project that your product relies on stays healthy and actively maintained.

For open source projects, you may use nanogallery2 for free.

In this case, nanogallery2 is licensed under GPLv3 license, which means that your project must also be licensed under GPLv3.

If this cannot apply to your project, the purchase of a commercial license is required.



Need help using nanogallery2?

Start by reading the documentation

Premium support is provided to commercial license holders.

Technical questions should be asked on StackOverflow and bugs should be reported on Github.


Your comments are welcome!