VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: bogusj on March 22, 2015, 11:55:16 AM

Title: Image thumbnails compression with jpegtran?
Post by: bogusj on March 22, 2015, 11:55:16 AM
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.
Title: Re: Image thumbnails compression with jpegtran?
Post by: d0ublezer0 on October 17, 2017, 21:20:13 PM
anyone solved this?
Title: Re: Image thumbnails compression with jpegtran?
Post by: Studio 42 on October 18, 2017, 03:25:17 AM
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.
Title: Re: Image thumbnails compression with jpegtran?
Post by: nehakakar on December 15, 2023, 13:22:15 PM
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 (https://jpegcompressor.com/), 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!"