Skip to content
Snippets Groups Projects
Commit 7dac3efd authored by Helmut Hummel's avatar Helmut Hummel Committed by Wouter Wolters
Browse files

[BUGFIX] Avoid calculating crop areas, when files have no size

When file relations are added, the crop area of these is calculated,
even if they are not images.

We avoid that by only doing this processing, when the file
has a width property.

Resolves: #80071
Releases: master
Change-Id: I42924b271e5a6697d35ffb7d5f322f555139ec57
Reviewed-on: https://review.typo3.org/52192


Reviewed-by: default avatarThomas Hohn <thomas@hohn.dk>
Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarJigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: default avatarJigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
parent 33d91ce3
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment