#106228Thumbnails in file selector tiles view distorted
Description
Some image previews are distorted in the file selector (add file relation modal). In the Listview and also the fileadmin module itself the images show up correctly.
To my knowledge this is mostly visible on images with a 1:1 (square) asprect ratio.
Tiles View
clipboard-202502211503-tq3hb.png
**List View**
clipboard-202502211504-lsaux.png
Can be reproduced on the surfcamp project: https://github.com/TYPO3incubator/surfcamp-team-success/tree/main
Reviews 3
Related issues 1
Files 2
History 59
-
Garvin Hicking changed category <span data-processor="relativetime" data-value="2025-02-21T14:13:10+00:00" > 02/21/25, 14:13 </span>
-
Jasmina Ließmann commented and changed status
NewAccepted <span data-processor="relativetime" data-value="2025-02-21T14:38:13+00:00" > 02/21/25, 14:38 </span> -
Jasmina Ließmann changed Related to #105845 <span data-processor="relativetime" data-value="2025-02-21T14:50:54+00:00" > 02/21/25, 14:50 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 88364 status
AcceptedUnder Review <span data-processor="relativetime" data-value="2025-02-26T10:02:47+00:00" > 02/26/25, 10:02 </span> -
Gerrit Code Review pushed patch set 2 for main to change 88364 <span data-processor="relativetime" data-value="2025-02-26T11:02:24+00:00" > 02/26/25, 11:02 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 88372 <span data-processor="relativetime" data-value="2025-02-26T19:41:56+00:00" > 02/26/25, 19:41 </span>
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 88373 <span data-processor="relativetime" data-value="2025-02-26T19:42:54+00:00" > 02/26/25, 19:42 </span>
-
Benjamin Kott commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2025-02-26T19:55:09+00:00" > 02/26/25, 19:55 </span>Applied in changeset commit:eaebe995f9b962ec583ca721d5f315f2c4045020.
-
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2025-12-02T14:22:27+00:00" > 12/02/25, 14:22 </span>
I can confirm. As far as I can tell, this is due to the CSS setting
.resource-tile-image img (max-height: 100%; max-width: 100%).However, it depends on how much space the tiles have. For example, if the file tree is collapsed in the modal, the images will not be distorted as much as when the file tree is displayed.