![travis](https://travis-ci.org/sachinchoolur/lg-zoom.js.svg?branch=master)
![bower](https://img.shields.io/bower/v/lg-zoom.js.svg)
![npm](https://img.shields.io/npm/v/lg-zoom.js.svg)

# Zoom module for [lightgallery.js](http://sachinchoolur.github.io/lightgallery.js/)
Full featured javascript gallery. Zero dependencies.
![lightgallery](https://raw.githubusercontent.com/sachinchoolur/lightGallery/master/lib/lg.png)

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](http://bower.io) package manager.

```sh
$ bower install lg-zoom.js --save
```

#### npm

You can also find lightgallery zoom plugin on [npm](http://npmjs.org).

```sh
$ 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.
``` html
<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>  
```

[Demos](http://sachinchoolur.github.io/lightgallery.js) 
----
  
[Docs](http://sachinchoolur.github.io/lightgallery.js/docs/api.html#lg-zoom)
-----

License
---

#### Commercial license
If you want to use lightgallery.js 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.js Commercial License at [uplabs.com/posts/lightgallery-js](https://www.uplabs.com/posts/lightgallery-js)

#### 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.

