[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:Thomas Hohn <thomas@hohn.dk> Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Jigal van Hemert <jigal.van.hemert@typo3.org> Tested-by:
Jigal van Hemert <jigal.van.hemert@typo3.org> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl>
Please register or sign in to comment