Issue Feature Closed

#92088Usage of modern image formats

Christoph Werner 08/24/20, 11:11 updated 08/24/20, 19:04

Description

Hi!

It would be great to think about usage of modern images formats like JPEG 2000, JPEG XR, WebP, Avif (https://reachlightspeed.com/blog/using-the-new-high-performance-avif-image-format-on-the-web-today/) in TYPO3.

Main problem could be, that not all browses/devices support these formats (see https://caniuse.com/avif, https://caniuse.com/webp, https://caniuse.com/jpeg2000, https://caniuse.com/jpegxr). So a fallback solution would be great, maybe something like:

<picture>
    <source srcset="image.webp" type="image/webp">
    <source srcset="image.jpg" type="image/jpeg">
    <img src="image.jpg">
</picture>

Possible solution: A editor should be capable of adding two or more version of an image. But makes only sense, if the server could handle these formats.

There´s already a discussion about webp in #88537.

Best,
Christoph

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.