Image thumbnails compression with jpegtran?

Started by bogusj, March 22, 2015, 11:55:16 AM

Previous topic - Next topic

bogusj

Hi,

Is there any possibility by hack or extension to improve Virtuemart's image compression with using jpegtran?
Since Google's Pagespeed suggests this and since it does not comply, the SEO score drops, how hard would it be to change the compression method to make use of Jpeg Tran?
I also tried to download all images compress them with jpegtran and reupload them, however no matter what I do, thumbnails always keep recompressed by VM and I'm back to square one.
Any help would be greatly appreciated.

VM version: 3.0.6
Joomla version: 3.4.1

Thanks in advance.

EDIT: I tried disabling "Enable Dynamic Thumbnail Resizing" VM option, however it results to not loading all product images correctly. The strange thing is that it does not happen with all images.


Studio 42

Use Webp and png or jpg fallback.
See https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fshop.st42.fr%2Ffr%2Fproduits&tab=desktop, i have score 95.
On mobile only 70 because you cannot defer jquery else Vm stop to work.

nehakakar

Has anyone successfully integrated jpegtran or a similar tool directly into Virtuemart for automatic image compression?
If so, could you share the steps or code modifications required to achieve this?
I manually compress images using jpeg compressor, but I'm seeking a more automated solution. If anyone has achieved this, could you kindly detail the steps or the necessary code adjustments? Any guidance on automating this process would be greatly appreciated!"