We're running a site on MODX 2.5 (newest at this writing), running the newest version of pThumb (it's fully updated) on the MODX cloud hosting platform.
We're starting to run into problems with our MODX websites b/c they are failing the Google speed test and the culprit is mostly the images not being compressed correctly. On the WP platform, they have plugins that can compress the images using Tiny PNG's image compression. I've been trying to find something comparable in MODX but have yet to find it that will take an image the client uploads and compress it for them enough to pass the Google speed test (as well as score high on Pingdom and other speed test sites). We've tried downloading the files from the pThumb cache and compressing the images, but this isn't working (as every time the cache gets cleared or the client uploads new images, they'd have to physically go and compress them first which is just not going to happen).
We're using a pretty standard call to resize the image in pThumb:
[[+tv.portfolio-image:pthumb=`w=475&h=280&zc=1`]]
Obviously we could remove pThumb and tell the client to resize the images in advance over at Tiny PNG but that's just not going to happen.
Anyone found a solution to resolve this issue with MODX yet? If so, would you mind sharing what you found that works?
[ed. note: flinx777 last edited this post 10 years, 3 months ago.]