diff --git a/themes/default/js/product.js b/themes/default/js/product.js index 02b5f5176..2ea7f296d 100644 --- a/themes/default/js/product.js +++ b/themes/default/js/product.js @@ -424,7 +424,7 @@ function displayImage(domAAroundImgThumb, no_animation) { $('#bigpic').attr('src', newSrc).load(function() { if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled) - $('#bigpic').attr('alt', domAAroundImgThumb.attr('href')); + $(this).attr('rel', domAAroundImgThumb.attr('href')); }); } $('#views_block li a').removeClass('shown');