This is a plugin for blueimp Gallery. It adds buttons to rotate the image clockwise and counter-clockwise in the bottom left corner of the screen.
-
Include blueimp Gallery following the instructions in its repository.
-
Copy the css, img and js files provided by this plugin and add them to your folders.
-
Include the stylesheet:
<link rel="stylesheet" href="css/blueimp-rotate.css">
- Include the script:
<script src="js/blueimp-rotate.js"></script>
- Add the image rotation controls:
<div id="blueimp-gallery" class="blueimp-gallery">
<div class="slides"></div>
<h3 class="title"></h3>
<a class="prev">‹</a>
<a class="next">›</a>
<a class="close">×</a>
<a class="play-pause"></a>
<ol class="indicator"></ol>
<!-- Image rotation controls -->
<a class="rotate-right"></a>
<a class="rotate-left"></a>
</div>
Released under the MIT license.