OverLord Shell
<img id="img_01" src="../uploads/products/1-prod-20171129134733.png" data-zoom-image="../uploads/products/1-prod-20171129134733.png"/>
<div id="gal1">
<a href="#" data-image="small/image1.jpg" data-zoom-image="large/image1.jpg">
<img id="img_01" src="thumb/image1.jpg" />
</a>
<a href="#" data-image="small/image2.jpg" data-zoom-image="large/image2.jpg">
<img id="img_01" src="thumb/image2.jpg" />
</a>
<a href="#" data-image="small/image3.jpg" data-zoom-image="large/image3.jpg">
<img id="img_01" src="thumb/image3.jpg" />
</a>
<a href="#" data-image="small/image4.jpg" data-zoom-image="large/image4.jpg">
<img id="img_01" src="thumb/image4.jpg" />
</a>
</div>
<style>
/*set a border on the images to prevent shifting*/
#gallery_01 img{border:2px solid white;}
/*Change the colour*/
.active img{border:2px solid #333 !important;}
</style>
<script>
//initiate the plugin and pass the id of the div containing gallery images
$("#zoom_03").elevateZoom({gallery:'gallery_01', cursor: 'pointer', galleryActiveClass: 'active', imageCrossfade: true, loadingIcon: 'http://www.elevateweb.co.uk/spinner.gif'});
//pass the images to Fancybox
$("#zoom_03").bind("click", function(e) {
var ez = $('#zoom_03').data('elevateZoom');
$.fancybox(ez.getGalleryList());
return false;
});</script>
xRyukZ - Copyright 2k19