Project

General

Profile

Actions

Bug #82299

closed

Records thumbnail are not croping correctly in backend lists

Added by Matthias Toscanelli about 7 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2017-09-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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')
...

Actions

Also available in: Atom PDF