MOC.ImageOptimizer
MOC.ImageOptimizer copied to clipboard
Optimizer is not reliable because of thumbnail generation strategy in Neos
Since the package was changed to only be triggered when a thumbnail is refreshed we have to rely on thumbnails actually being created. Neos currently does NOT create thumbnails when the original image is smaller than the requested dimensions. This way it can happen that many images in a site use the optimized original.
I tricked the strategy in one project by always allowing Neos to upscale which creates a thumbnail which is then optimized and still smaller than the original. But that shouldn't be the way to go.