Download the PHP package showpro/silverstripe-seo-images without Composer
On this page you can find all versions of the php package showpro/silverstripe-seo-images. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download showpro/silverstripe-seo-images
More information about showpro/silverstripe-seo-images
Files in showpro/silverstripe-seo-images
Package silverstripe-seo-images
Short Description Automaticly optimise and generates WebP images of all uploaded & resampled images in SilverStripe
License MIT
Homepage https://github.com/mi32dogs/silverstripe-seo-images
Informations about the package silverstripe-seo-images
Creates Optimised images for SEO in SilverStripe
This Module is Ralph Slooten's axllent/silverstripe-image-optimiser with a module to generate WebP images of all optimized images.
This module automatically optimise, compress and generates an WebP images from both 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) and it also generates WebP images for all optimized and compressed (JPG & PNG) images. It also adds More Information about webp images https://developers.google.com/speed/webp/
The module overrides the default FlysystemAssetStore
to first optimise the image
before adding the image to the store, then if the image is a JPG or PNG it will create a WebP image. It works transparently.
Requirements
- silverstripe/silverstripe-framework ^4.2
- spatie/image-optimizer
- rosell-dk/webp-convert
- JpegOptim, Optipng, Pngquant 2 & Gifsicle binaries (see below)
- vips, imagick, gmagick, GDLib with webp Extension (see WebP creation tools)
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:
WebP creation tools
The module uses rosell-dk/webp-convert to generate WebP images. The library can convert using the following methods:
- vips (using Vips PHP extension)
- imagick (using Imagick PHP extension)
- gmagick (using Gmagick PHP extension)
- gd (using the Gd PHP extension)
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.
All versions of silverstripe-seo-images with dependencies
rosell-dk/webp-convert Version ^2.3
silverstripe/framework Version ^4.2
spatie/image-optimizer Version ^1.2