What does it do?
This snippet optimises and compresses PNG and JPEG images for better performance using the resmush.it optimisation API.
This will help with Google Page Speed and can reduce image sizes by up to 70% and works best on alpha transparent PNGs but it also makes some reductions on JPEG images too. This will overwrite any existing images so is intended to be used as an output filter after pthumb or similar.
I'm a passionate and confident UX/UI Designer & Developer with 25 years of experience delivering high-quality, end-to-end, user-focused digital experiences.
Let's take a look at some examples
Here are some examples of MODX SmushIt in action and the savings made on various image formats and sizes.