Issue Feature Closed

#101391Add base64 option to ImageViewHelper

Sebastien Convers 07/19/23, 12:25 updated 10/15/24, 09:30

Description

Would be nice to have option on ImageViewHelper, to get base64 encoded image.
Could be useful for usage in FluidEmail.

Something like this:

Usage

<f:image base64="true" src="EXT:backend/Resources/Public/Images/typo3_logo_orange.svg" height="20" class="pr-2" base64="true" />

Output

<img class="pr-2" src="data: image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy..." alt="" width="20" height="20">

(This is my first try to contribute to core, so please tell me if something is wrong)

Reviews 3

History 413

  1. Gerrit Code Review pushed patch set 1 for main to change 80097 status New Under Review 07/19/23, 12:32

  2. Gerrit Code Review pushed patch set 2 for main to change 80097 07/19/23, 13:48

  3. Gerrit Code Review pushed patch set 3 for main to change 80097 12/22/23, 01:20

  4. Gerrit Code Review pushed patch set 4 for main to change 80097 12/23/23, 15:39

  5. Georg Ringer changed Sprint Focus On Location Sprint 06/11/24, 20:08

  6. Gerrit Code Review pushed patch set 5 for main to change 80097 08/01/24, 20:39

  7. Gerrit Code Review pushed patch set 6 for main to change 80097 08/01/24, 20:40

  8. Gerrit Code Review pushed patch set 7 for main to change 80097 08/01/24, 22:00

  9. Gerrit Code Review pushed patch set 8 for main to change 80097 08/01/24, 22:05

  10. Gerrit Code Review pushed patch set 9 for main to change 80097 08/02/24, 15:16

  11. Anonymous commented and changed status Under Review Resolved done 0 % 100 % 08/04/24, 07:40

    Applied in changeset commit:132ad7c74429349bf25c997740fddeb6dea3ee33.

  12. Benni Mack changed status Resolved Closed 10/15/24, 09:30

  13. Garvin Hicking changed Related to #93550 10/21/24, 06:31