You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If yor try to replace an image in the media module, that already contains variants, with an other image, the AssetService tries to refit the new image.
In case the new image is an SVG no height or wight is provided to calculate the aspect ratio nor new dimensions. This leads to a "division by zero" error in the adjustment:
Is there an existing issue for this?
Current Behavior
If yor try to replace an image in the media module, that already contains variants, with an other image, the AssetService tries to refit the new image.
In case the new image is an SVG no height or wight is provided to calculate the aspect ratio nor new dimensions. This leads to a "division by zero" error in the adjustment:
neos-development-collection/Neos.Media/Classes/Domain/Model/Adjustment/CropImageAdjustment.php
Lines 274 to 289 in 6011f88
Expected Behavior
No refit if a replacement with a SVG is processed.
Steps To Reproduce
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: