Squidge is a FREE WordpPress Plugin built for developers in mind compressing and convert images using jpegoptim,
optipng, cwebp, and libavif. It’s extremley simple to use and is designed to increase PSI and boost rankings.
Why?
Image compression in WordPress can be costly, confusing and sometimes just simply don’t work. We have aimed to simplify
the process by requiring the developer to install the required package on the operating system and Squidge does the
hard work for you.
- IT’S FREE
- Unlimited file size, no limits.
- Optimised for your site to rank.
- CLI to regenerate all of your media files.
- Helper functions to output images in templates.
- Uses the native
cwebpandlibaviflibraries.
What does Squidge do?
Squidge compresses and converts image files when the user has uploaded a file to WordPress.
- Compresses JPG images using
jpegoptim. - Compresses PNG images using
optipng. - Converts JPG and PNG images to
.webpfiles usingcwebpwith the appended extension e.g.image.jpg.webp. - Converts JPG and PNG images to
.aviffiles usinglibavifwith the appended extension e.g.image.jpg.avif.
Render Images
To render images in templates, you can either set up nginx or apache rules to serve images dynamically or used the
squidge_image helper function. This dynamically checks if an .avif or .webp file is available on the file system
and returns the output.
Function
Output
Credits
Written by Ainsley Clark

评论0