Review 12.4 Merged

83232[TASK] Respect alt text in backend thumbnails

Oli Bartsch CR +2 V +2 Easy +1 −1 updated 03/05/24, 14:39

Commit message

The thumbCode method in the BackendUtility sets
the filename as the alt text for images. That's
why the backend representation of content elements
like textmedia doesn't respect any set alternative
text, whether it's set in the file_reference or
the sys_file record itself.

This change uses the alternative text and only
sets the filename as a fallback if there's no
alternative text provided for the file.

Review

  • Code review CR +2 Done
    • Oli Bartsch +2
  • Verified V +2 Done
    • Oli Bartsch +2
    • core-ci +1 CI

Issues 1

Files 1

Review log 34

  1. Oli Bartsch commented on patch set 1 03/05/24, 14:33

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 03/05/24, 14:38 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/53950

  3. Oli Bartsch voted on patch set 1 CR +2 V +2 03/05/24, 14:39

  4. Oli Bartsch merged patch set 2 03/05/24, 14:39