';
$('.sub-image').each(function(index, elem) {
html += '
' + (index + 1) + ' / ' + $('.sub-image').length + '
';
});
html += '
';
html += '
';
$('.lightbox-container').html(html).show(500);
ptzoom.showSlides(pos);
});
$('input:hidden[name=\'option[image]\']').val(option.product_images[0]['origin']);
return true;
}
return false;
}
});
-->