Closed julianhofmann closed 3 years ago
This behavior, we have only when using the ViewHelper in a certain (custom) extension.
Seems to be caused by the default sizes="(min-width: %1$dpx) %1$dpx, 100vw"
... After some time of debugging, I'll "fix" it by setting the needed sizes.
If there's no cropping configured, null is passed as configuration in $processingInstructions. This way, the image is not scaled at all. The patch is setting
$processingInstructions['crop']
only if the configuration is not empty.Fixes: #92