/lg-zoom.js

Zoom module for lightgallery.

Primary LanguageJavaScript

travis bower npm

Zoom module for lightgallery.js

Full featured javascript gallery. Zero dependencies. lightgallery

Main features

  • Zoom in and zoom out.
  • Double click on images to see it's actual size.
  • Zoom in/out the clicked position.

Browser support

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

Installation

Install with Bower

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

$ bower install lg-zoom.js --save

npm

You can also find lightgallery zoom plugin on npm.

$ npm install lg-zoom.js

Download from Github

You can also directly download lg-zoom from github.

Include Javascript files

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

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

Support

Use GitHub issue tracker in the event that you have come across a bug or glitch. It would also be very helpful if you could add a jsFiddle, which would allow you to demonstrate the problem in question.

Use stackoverflow instead of github issue tracker if you need any help with implementing lightgallery in your project or if you have any personal support requests.

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