Webp image for responsive image fallback

Created on 1 December 2021, over 3 years ago
Updated 11 November 2024, 4 months ago

Problem/Motivation

Currently only IE browser is not supporting webp images. IE browser will reach eol on June 15, 2022.
https://caniuse.com/webp

Proposed resolution

Instead of jpg or png format image, webp image should be loaded as fallback image.

Feature request
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

🇮🇳India gaurav_manerkar Vasco Da Gama, Goa

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇹🇼Taiwan johnalbin Taipei, Taiwan

    Currently only IE browser is not supporting webp images. IE browser will reach eol on June 15, 2022.

    webp image should be loaded as fallback image

    I completely agree.

    However, you can already have a webp fallback image by configuring the fallback image to use an image style that has Drupal Core's "Convert" image style filter (set to convert to webp, of course).

    There's no need to unconditionally convert jpegs, etc to webp as this patch does.

Production build 0.71.5 2024