What's New
Viewing 10 posts - 1 through 10 (of 10 total)
Viewing 10 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic.
Hello,
How to fix image size on category page https://www.screencast.com/t/tFzXtxeAUWLy . Image should fit to fixed width and height and don’t resize row of products in category. I can’t do fixed size for images of 20 000 products – I get these pictures from supplier in different size.
That didn’t help. After regeneration: https://www.screencast.com/t/CC6Ahd8Hfjr
Looks like height of image block depends on second image of one from products which shown in block https://www.screencast.com/t/LQ5lOvJvCtrF . I just turned off showing second image in category but nothing changes.
Hi,
The issue was due to your original images ratio, the best original images should be 7:8 ratio and more than 700px by 800px. if your original images aren’t the ratio, Prestashop will use a white background to fill the thumbnail to fit the ratio. for example the following two image:
https://makaroff.by/27-home_default/mountain-fox-notebook.jpg
https://makaroff.by/18-home_default/mountain-fox-notebook.jpg
The first one fits the ratio, so there isn’t any filler, while the second one doesn’t fit the ratio, so there is white background color on the top and bottom. on the front office page, the page background color is white, so it seems the first one is higher than others.
I suggest you change the original image as the same dimension as others for the product to re-upload it: https://makaroff.by/stationery/17-32-mountain-fox-notebook.html
Best regards.
I uderstand this, and this is OK. But on my first screen different product on category page was with different size of block where image show. Look to last 2 product in last row “That didn’t help. After regeneration: https://www.screencast.com/t/CC6Ahd8Hfjr”
Now I see that height of blocks the same – maybe it is related to cache?
You must be logged in to reply to this topic.