Download the PHP package kaiseki/wp-image-sizes without Composer
On this page you can find all versions of the php package kaiseki/wp-image-sizes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kaiseki/wp-image-sizes
More information about kaiseki/wp-image-sizes
Files in kaiseki/wp-image-sizes
Package wp-image-sizes
Short Description Register, configure and remove WordPress image sizes, including aspect-ratio-based size sets
License MIT
Homepage https://github.com/kaisekidev/kaiseki-wp-image-sizes
Informations about the package wp-image-sizes
kaiseki/wp-image-sizes
Register, configure and remove WordPress image sizes, including aspect-ratio-based size sets.
Driven by the image_sizes config key and wired through ConfigProvider: set the built-in size
dimensions, register custom sizes, generate whole families of sizes from an aspect ratio and a list of
widths, tune the big-image threshold, and remove unwanted core sizes.
Installation
Requires PHP 8.2 or newer.
Usage
Register ConfigProvider with your laminas-style config aggregator and configure the image_sizes
key:
ConfigProvider registers factories for WpImageSizes (applies the size configuration),
ImageSizesRegistry, BigImageSizeThreshold (the big_image_size_threshold filter) and
RemoveImageSizes (removes sizes and filters them out of intermediate_image_sizes). An
AspectRatio expands a ratio and a set of widths into individual ImageSizes via createImageSizes().
Development
License
MIT — see LICENSE.
All versions of wp-image-sizes with dependencies
kaiseki/config Version ^2.0
kaiseki/wp-hook Version ^2.0
psr/container Version ^1.1 || ^2.0