Rotate module for lightgallery.js
Full featured javascript gallery. Zero dependencies.
- Rotate right.
- Rotate left.
- Flip horizontal.
- Filp vertical.
lightgallery supports all major browsers including IE 9 and above..
You can install lightgallery rotate plugin using the npm package manager.
$ npm install lg-rotate.js
You can also directly download lg-rotate from github.
Include lg-rotate plugin after lightgallery.min.js.
<body>
---
<!-- Include lightgallery.js -->
<script src="js/lightgallery.min.js"></script>
<!-- Include lg-rotate.js -->
<script src="js/lg-rotate.min.js"></script>
<!-- Include other lightgallery plugins (Optional) -->
<script src="js/lg-thumbnail.min.js"></script>
</body>
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. Read more about the commercial 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.