I successfully managed to make my base photo have zoom but when I change my image the zoom is still referring to the base image how can I fix this. I tried with attribute gallery but it's not working
My code to change product images through thumbnails
<script type="text/javascript" src="<?php echo $this->getSkinUrl('js/easy-slider.js');?>"></script>
<script type="text/javascript">
// <![CDATA[
(function($){
$(document).ready(function($){
$(".more-views").easySlider({
mainImg: "p.product-image-zoom img",
btnNext: ".jm-product-lemmon .next",
btnPrev: ".jm-product-lemmon .prev",
animate: true,
loop: true,
speed: 300,
width: 100,
width_img: 78,
start: <?php echo $start?>
});
});
})(jQuery);
// ]]>
</script>
my code for zoom
<script type="text/javascript" src="<?php echo $this->getSkinUrl('js/jquery.elevatezoom.js');?>"></script>
<script type="text/javascript">// <![CDATA[
(function($) {
$("#image").elevateZoom({
scrollZoom: false,
borderColour: "#eee",
tintColour: "#eee",
zoomWindowWidth: 450,
zoomWindowHeight: 450,
gallery: 'jm-product-lemmon',
galleryActiveClass: 'active'
});
})(jQuery);
// ]]>
</script>