elevateweb / elevatezoom

1.03k stars 492 forks source link

Zoom image not changing, "largeimage is not defined" #17

Open martindelima opened 11 years ago

martindelima commented 11 years ago

The zoom image under the magnifier doesn't change when I choose different gallery links.

When I click on the gallery links, it gives an error: largeimage is not defined. The img under the .zoomLens div doesn't change source either.

I haven't been able to solve this for a while now, so any help would be much appreciated. Thanks in advance!

martindelima commented 11 years ago

One more thing:

It seems to be an issue with the tint parameter. When I turn off tint, the links work normally.

fabi11 commented 11 years ago

i got the same problem with

$("#mainimage").data('elevateZoom').swaptheimage(..)
biswajitajatus commented 9 years ago

on Mouse hover i got an error in console i.e " swaptheimage is not found". can anyone please help me to solve this. here is my script.

$("#zoom_01").elevateZoom({ gallery : "gallery_09", galleryActiveClass: "active",zoomWindowHeight: 370,zoomWindowWidth:370 });

$(".thumbImage").hover(function(e){ var url = $(this).attr("src"); smallImage = url; largeImage = url; var ez = $('#zoom_01').data('elevateZoom'); ez.swaptheimage(smallImage, largeImage); });