Issue Bug Closed

#106228Thumbnails in file selector tiles view distorted

André Buchmann 02/21/25, 14:06 updated 12/02/25, 14:22

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

Files 2

History 59

  1. Jasmina Ließmann commented and changed status New Accepted <span data-processor="relativetime" data-value="2025-02-21T14:38:13+00:00" > 02/21/25, 14:38 </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.

  2. Gerrit Code Review pushed patch set 1 for main to change 88364 status Accepted Under Review <span data-processor="relativetime" data-value="2025-02-26T10:02:47+00:00" > 02/26/25, 10:02 </span>

  3. Benjamin Kott commented and changed status Under Review Resolved done 0 % 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.