Skip to content

sachinchoolur/lg-thumbnail

Repository files navigation

travis bower npm

Thumbnail module for lightGallery

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

Main features

  • Animated thumbnails.
  • Touch and drag support.
  • Automatically load youtube and vimeo thumbnails.

Browser support

lightgallery supports all major browsers including IE 8 and above..

Installation

Install with Bower

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

$ bower install lg-thumbnail --save

npm

You can also find lightgallery thumbnail plugin on npm.

$ npm install lg-thumbnail

Download from Github

You can also directly download lg-thumbnail from github.

CDN

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

Include Javascript files

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

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

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. Read more about the commercial license

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.