Repository navigation
v0.6.0
Sizes made by a service.
bunnyandimgproxydrivers for the sizes (POLLORA_MEDIA_THUMBNAILS_DRIVER): the URL of a size is a Bunny image class (photo.jpg?class=card) or a signed imgproxy URL that names a preset (imgproxy 4.0.x, presets-only; source: the library URL or ans3://object). No file is made and no fallback route is registered; a private media never goes to the service.wp pollora media thumbs export --driver=bunny|imgproxy: one class or preset per declared size and per extra width. Bunny: merged by name and written with--execute(dry run otherwise); imgproxy: prints the configuration, without the key or the salt.- Checked on a real Bunny pull zone and a real imgproxy 4.0.17 (URL and S3 sources): the dimensions advertised for each size are the ones served. Bunny accepts only letters and digits in a class name (
hero-640wis the classhero640w; colliding sizes are refused) and replaces the whole list of classes it is sent, so the export merges first. - The
ThumbnailDriverport gainssizeOf()andrefusal(); thesrcsetof the extra widths is built through the driver.
See the CHANGELOG.