Author Topic: Image thumbnails compression with jpegtran?  (Read 658 times)

bogusj

  • Jr. Member
  • **
  • Posts: 61
Image thumbnails compression with jpegtran?
« 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.

d0ublezer0

  • Jr. Member
  • **
  • Posts: 134
Re: Image thumbnails compression with jpegtran?
« Reply #1 on: October 17, 2017, 21:20:13 pm »
anyone solved this?

Studio 42

  • Contributing Developer
  • Full Member
  • *
  • Posts: 2413
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: Image thumbnails compression with jpegtran?
« Reply #2 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.