Download the PHP package axllent/silverstripe-image-optimiser without Composer
On this page you can find all versions of the php package axllent/silverstripe-image-optimiser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download axllent/silverstripe-image-optimiser
More information about axllent/silverstripe-image-optimiser
Files in axllent/silverstripe-image-optimiser
Package silverstripe-image-optimiser
Short Description Automatically optimise all uploaded & resampled images in Silverstripe
License MIT
Homepage https://github.com/axllent/silverstripe-image-optimiser
Informations about the package silverstripe-image-optimiser
Optimised images for Silverstripe
A module to automatically optimise/compress uploaded as well as any resampled (cropped, scaled etc) images in Silverstripe. Images (JPG, PNG & GIF) are automatically optimised, provided you have the correct binaries installed (see "Installation" below).
The module overrides the default FlysystemAssetStore
to and transparently optimises
the image before adding the image to the store.
Requirements
silverstripe/framework
^4.0 || ^5.0silverstripe/assets
^1.10 || ^2.0- spatie/image-optimizer - automatically installed
- JpegOptim, Optipng, Pngquant 2 & Gifsicle binaries (see below)
Optimisation tools
The module uses spatie/image-optimizer and will use the following optimisers if they are both present and in your default path on your system:
Installation
Installing the utilities on Ubuntu:
Installing the utilities on Alpine Linux:
Usage
Assuming you have the necessary binaries installed, it should "just work" with the default settings once you have flushed your Silverstripe installation.
For custom optimisation settings, please refer to the Configuration documentation.
All versions of silverstripe-image-optimiser with dependencies
silverstripe/assets Version ^1.10 || ^2.0
spatie/image-optimizer Version ^1.6.4