I have been trying to do the same thing, but i cant make the ddpowerzoomer.js load my different larger image for the zoom, it always uses the base image...
it may be a version 1.0 vs 1.1 issue?
If i use v1.1 my image map is not translated though, and if i use the 1.0 from this post the image map is translated correctly but the large image is not used
I have tried comparing 1.0 and 1.1 .js files and it is only subtle details that changes and major difference is the part where the large image is loaded
and in the jQuery.fn.addpowerzoom=function(options){ ... function that is much more elaborate in 1.1 than in 1.0.Code:$magnifier.inner.html('<img src="'+options.largeimagesrc+'"/>') //get base image's src and create new image inside magnifier based on it
the 1.0 also has a:
line extra but trying to hack the two together didn't work for meCode:$magnifier.inner.empty().append($imgref.clone())
Any ideas?




Reply With Quote
Bookmarks