Issue Bug Closed

#82299Records thumbnail are not croping correctly in backend lists

Matthias Toscanelli 09/05/17, 13:36 updated 01/26/22, 09:41

Description

When an image is configured to be the thumbnail in TCA and have a cropArea defined with the Crop utility, BackendUtility do not crop the image but render it as his original size.

A workaround is to use “m” suffix instead of “c” when a cropArea is set.
Line 1734 in BackendUtility:

...
'height' => $sizeParts[1] . ($cropArea->isEmpty() ? 'c' : 'm')
...

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.