seog Posted March 4, 2014 Share Posted March 4, 2014 (edited) Hello I am adapting my product.tpl to improve loading time (SEO) Original image = 65kb Compressed image = 20kb Problem: If I compress my images with good software saving 60% per image then when I up images to prestashop product then prestashop core resize my compress image (20kb) to original weight (65kb) If I set in Preferences > Images > JPEG Quality to 40 then when I check the image size in gtmetrix timeline his weight is 65kb Then I think that the solution for respect compres sizes is modify httpdocs/images.inc.php Someone could help to delete code that performs decompression when I upload images to product ? Best regards Edited March 4, 2014 by seog (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted March 4, 2014 Share Posted March 4, 2014 I can recommend a solution for this. I actually tested a module (paid module) out a month or so ago that uses yahoo's smushit instead of Prestashops internal image manipulation. The module worked awesomely, it smushes all of your current images and every new product image you upload. You can check the article out here, http://blog.dh42.com/prestashop-image-optimization/ There is a link to the module on the post as well. Link to comment Share on other sites More sharing options...
Recommended Posts