- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 10.04.20, 10:06
- Opened by: ilario santamaria
- Closed by: Fred
- Closed on: 28.05.20, 00:18
- Reason: Closed
- Comment: Glad to help!
Ticket #17296 - images same category product page
hi
I was doing a site speed check and among other things he doesn’t like the reduction of large images “produced in the same category”,
is it not possible to have them load the smaller image instead of loading the large one and then reduce it?
best regards
Ilario
Comments
Open the file
/themes/alysum/modules/ps_categoryproducts/views/templates/hook/ps_categoryproducts.tpl
Add image size like this
hi
I changed the size of the image in the file but it doesn’t seem to work
https://bustedesign.it/107/busta-ebe.jpg is resized in HTML or CSS from 800×800 to 304×304. Serving a scaled image could save 17.3KiB (85% reduction).
image
in
That’s because you have modified file /public_html/themes/alysum/templates/catalog/_partials/miniatures/product.tpl
Try to use original one
hi
yes I have changed this part of code
with this
because I needed to show the 1 and the second image and not the cover image which is different, but here I am not going to touch the sizes and resize the images to 300 x300, I cannot find where they come down
I suppose this is a link to product image
or
I tried to change, but the large 800×800 always passes and somewhere reduces it to 300×300
Attachments:
imm resize.jpg(191.5 KiB)As I can see the image is changed to bigger one successfully https://take.ms/m1GTn