Issue Bug Closed

#107162Thumbnail element's `keepAspectRatio` distorts image

Andreas Kienast 07/29/25, 07:50 updated 12/02/25, 13:58

Description

The web component typo3-backend-thumbnail allows to render a thumbnail while keeping the aspect ratio by passing the attribute keepAspectRatio. In that case, the image gets distorted due to a wrong sizing instruction.

Reviews 3

History 28

  1. Gerrit Code Review pushed patch set 1 for main to change 90184 status In Progress Under Review <span data-processor="relativetime" data-value="2025-07-29T07:53:57+00:00" > 07/29/25, 07:53 </span>

  2. Anonymous commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-08-11T13:30:10+00:00" > 08/11/25, 13:30 </span>

    Applied in changeset commit:d117d23eb72a826848bce53425dff40493c1b710.