Issue Task Closed

#106166ImageProcessing exception for width/height=0 asks for reporting but misses important details

Garvin Hicking 02/13/25, 08:53 updated 08/12/25, 14:36

Description

If imageprocessing fails because width or height is resolved to 0, an exception is thrown:

throw new \LogicException('Image processing instructions did not resolve into coherent positive width and height values. This is a bug. Please report.', 1709806820);

However, it is hard to see how an image was to be processed without extra information.

At least details like resolved width/height, croparea and option configuration should be mentioned.

Original bug report: https://typo3.slack.com/archives/C025BQLFA/p1739430010221999

Reviews 4