Hi Hideaki, thanks for the mod!
It worked but the class="replace-2x img-responsive" is not passing to the second image, so the background image (second) it's not responsive and when the page is resized the first image gets smaller but the second one no.
I've been trying to make it work but with no success until now. Can you please provide me with a fix for that?
I'm using prestashop 1.6.0.9 with default theme.
Thank you!
Hi! Finaly I fix the second image resize problem by aplying the class to all images inside the container.
.product-image-container span img { display: block; height: auto; max-width: 100%; }
Now I found that homefeatured products home tabs (new arrivals, best sellers, popular) are showing the second image two more times under the original. The module creates three spans containing the background (second) image.
<span>second image<span>second image<span>original image with hover effect</span></span></span>
Any fix for this problem?
Thanks again!
Hi again!
I found that the script added to product-list.tpl was loading with every home tab, since there are three (new arrivals, best sellers, popular) that was why the image was being repeated three times.
I fixed the problem by making a separate .js file with the script and erasing it from the product-list.tpl.
Thanks again!