1.3.0 • Published 4 years ago

lg-share.js v1.3.0

Weekly downloads
2,101
License
GPLv3
Repository
github
Last release
4 years ago

travis bower npm

Social media share module for lightgallery.js

Full featured javascript gallery. Zero dependencies. lightgallery

Main features

  • Allows to share slides to Facebook, Twitter, Google plus and pinterest.
  • Option to provide custom url and description.

Browser support

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

Installation

Install with Bower

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

$ bower install lg-share.js --save

npm

You can also find lightgallery share plugin on npm.

$ npm install lg-share.js

Download from Github

You can also directly download lg-share from github.

Include Javascript files

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

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

Demos

Docs

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

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.