Bug #22269
closedCropping small images fails if noScaleUp is enabled
0%
Description
If the install tool option noScaleUp is enabled, so images won't be scaled up, cropping images won't work, if the desired dimensions are larger than the processed image.
The result is some missing path information in the imageInfo array returned by $cObject->getImgResource().
Imho if the image dimensions are smaller than the desired dimensions, still valid pathes to the temporary file should be returned.
Example:
There's an image with the dimensions W 200px and H 200px.
If I crop-scale the image to dimensions like W 200c and H 300c the image tag still gets rendered, but the source attribute holds just the absRefPrefix, missing the path to the temporary image.
Note:
This happens with Extbase/Fluid using the image view helper.
If noScaleUp is set to 0 (disabled) the image will get displayed again, but it will also be scaled up.
(issue imported from #M13800)