Issue Feature Closed

#97765[FEATURE] Add fetchpriority attribute to images

Marcus Förster 06/13/22, 16:51 updated 09/16/25, 19:33

Description

Reviews 2

History 1018

  1. Garvin Hicking commented and changed status New Needs Feedback <span data-processor="relativetime" data-value="2024-07-23T16:43:06+00:00" > 07/23/24, 16:43 </span>

    Hi there,

    is it worth leaving this issue open? The patch has been abandoned…?

  2. Marcus Förster commented <span data-processor="relativetime" data-value="2024-07-24T07:20:30+00:00" > 07/24/24, 07:20 </span>

    Garvin Hicking wrote in #note-12:
    > is it worth leaving this issue open? The patch has been abandoned…?

    dear Garvin, i would like this to be included ; only FF lacks suppert for now ..

  3. Riccardo De Contardi commented <span data-processor="relativetime" data-value="2025-08-18T08:31:16+00:00" > 08/18/25, 08:31 </span>

    Steffen W wrote in #note-14:
    > What is the current situation? What is FF doing?
    >
    > Looks good, doesn’t it?!
    >
    > https://developer.mozilla.org/de/docs/Web/API/HTMLImageElement/fetchPriority

    Still, it says:

    > The property should be used sparingly, as excessive or incorrect prioritization can degrade performance

    As Chris Müller commented on the patch (abandoned), it looks unwise to add it globally via TypoScript settings :/

  4. Marcus Förster commented <span data-processor="relativetime" data-value="2025-08-18T13:21:09+00:00" > 08/18/25, 13:21 </span>

    `decoding` also has “flickering” flaws but typo3 is build for prof. usage
    especially for the first teaser-image => perfect “First Contentful Paint”

  5. Riccardo De Contardi commented <span data-processor="relativetime" data-value="2025-08-18T13:57:02+00:00" > 08/18/25, 13:57 </span>

    If it is needed just for some images, e.g the first teaser image you can add an additionalAttributes via fluid template/partial (see discussion on the patch). Otherwise, we should decide to add it as an additional database field (maybe in the EXT: filemetadata, I guess…

  6. Georg Ringer commented and changed status Needs Feedback Closed <span data-processor="relativetime" data-value="2025-09-16T19:33:06+00:00" > 09/16/25, 19:33 </span>

    now any attribute is possible, e.g.

    <f:image src="EXT:beuser/Resources/Public/Icons/Extension.png" fetchPriority="high" />

    closing issue