travis bower npm

History(Hash) module for lightGallery

A customizable, modular, responsive, lightbox gallery plugin for jQuery. lightgallery

Main features

  • Unique url for each slides.
  • Browser Back/forward buttons to navigate to different slides.
  • Back button to close gallery.
  • Allows to share images/videos to Facebook, Twitter, Google plus and Pinterest with the help of lightgallery share plugin

Browser support

lightgallery Hash plugin supports all major browsers including IE 10 and above..


Install with Bower

You can install lightgallery video plugin using the Bower package manager.

$ bower install lg-hash --save


You can also find lightgallery video plugin on npm.

$ npm install lg-hash

Download from Github

You can also directly download lg-hash from github.


If you prefer to use a CDN you can load files via jsdelivr

Include Javascript files

Include lg-hash plugin after lightgallery.min.js.

    <!-- Include lightGallery -->
    <script src="js/lightgallery.min.js"></script>
    <!-- Include lg-hash -->
    <script src="js/lg-hash.min.js"></script>
    <!-- Include other lightgallery plugins (Optional) -->
    <script src="js/lg-thumbnail.min.js"></script>




Commercial license

If you want to use lightGallery to develop commercial sites, themes, projects, and applications, the Commercial license is the appropriate license. With this option, your source code is kept proprietary. Purchase a lightGallery Commercial License at

Open source license

If you are creating an open source application under a license compatible with the GNU GPL license v3, you may use this project under the terms of the GPLv3.

Follow me on twitter @sachinchoolur for the latest news, updates about this project.