A lean and mean responsive monetizing image lightbox plugin that supports adspots on the side! Different ad sizes right next to your fancy lightbox images. Work in progress, so check for updates regularly.. Maybe even a wordpress plugin soon..
More info soon..
ImageViewer.js is completely free. So you are welcome to us it for any of your projects. As a thank you, you could buy me a beer or coffee with PayPal. Very much appreciated! :-)
Leave a tip!
Download ImageViewer.js from Github and don't forget to fork me on Github!
First load dependent files
<link href="assets/css/imageviewer.css" type="text/css" rel="stylesheet"/>
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script src="assets/javascript/imageviewer.js"></script>
Then add the links to your images, no need to add classes. File extensions should be jpg, jpeg, gif or png.
<a href="assets/images/01.jpg">Image 1</a>
<a href="assets/images/02.jpg">Image 2</a>
<a href="assets/images/03.jpg">Image 3</a>
<a href="assets/images/04.jpg">Image 4</a>
<a href="assets/images/05.jpg">Image 5</a>
<script>
$(document).ready( function(){
$('a[href$=".jpg"], a[href$=".jpeg"], a[href$=".gif"], a[href$=".png"]').imageviewer();
});
</script>
Well..
var imageviewersettings = {
loop : true,
keys : true,
touch : true, // work in progress
controls : true,
paging : true,
caption : true,
animation: true,
animspeed: 600,
preload : true, // work in progress
grouped : true, // work in progress
adspots: : {},
};