Hi everybody,
i'm trying to integrate the amazing cropper-ui on top of some kind of
javascript zooming like the one seen on this page:
http://demo.magentocommerce.com/catalog/product/view/s/anashria-womens-premier-leather-sandal/id/135/category/5/?___store=default
. It would be great in order to tend making a complete tool like
http://kroppr.rborn.info/ .
I thought it could have been quite easy to get it, but i'm having
troubles:
evexs = new Event.observe(
window,
'load',
function() {
obj = new Cropper.Img(
'testImage',
{
ratioDim: { x: <?=$ratioWidth?>, y: <?=$ratioHeight?> },
minWidth: <?=$ratioWidth?>,
minHeight: <?=$ratioHeight?>,
displayOnInit: true,
onEndCrop: onEndCrop
}
)
product_zoom = new Product.Zoom('testImage', 'track', 'handle',
'zoom_in', 'zoom_out', 'track_hint');
}
);
the product_zoom object is not working when on testImage...