winter
winter copied to clipboard
imageWidth/imageHeight filters not available on cold cache
Package targeted
Winter CMS
Description
Twig filters | imageWidth and | imageHeight are not working until the resized image is generated (on cold cache) as they fail to manage /resizer/* url resource.
When the filter are applied to a /resizer/* resource, ImageResizer::filterGetDimensions() should calculate and return valid values (using the stored configuration?).
Will this change be backwards-compatible?
No breaking changes expected.
@matteotrubini any ideas for an implementation for this?