Statamic v2 Addon to optimizes new Assets and Glide images
- Copy the
ImageOptimizer
folder intosite/addons/
. - Run
php please update:addons
to install dependencies
The package will uses various image optimization tools if they are present on your system. Please have a look at the documentation on psliwa/image-optimizer
and make sure you install them if necessary.
You can choose whether to optimize the original Assets, the Glide images or both under Tools
> Optimize
Run the please optimize
command to optimize all your existing image Assets and clear the glide cache.