Uplading webp image does not generate thumbnail in chrome

Created on 5 July 2023, 12 months ago

Problem/Motivation

I have added the webp support to the media library. I am using this module and https://www.drupal.org/project/imageapi_optimize β†’ for image style webp compression using webp pipeline.

But I'm facing a weird issue.

In google chrome,
When I go to the Content->media->Add media->image and upload a webp image, I don't see the thumbnail and in the console, I see the following error.

https://mysite.com/sites/default/files/styles/thumbnail/public/2023-07/4.sm_-2.webp?itok=T36_wXiV net::ERR_HTTP2_PROTOCOL_ERROR 200

And when I save the form, I don't see the thumbnail on media library page as well. Reloading the page again then displays it.

While everything is working fine on firefox. My google chrome version is 114.0.5735.133

What can be the issue?

When I uninstall the webp module, then it works fine in chrome as well.

πŸ› Bug report
Status

Active

Component

Code

Created by

πŸ‡΅πŸ‡°Pakistan hmdnawaz

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

Comments & Activities

Production build 0.69.0 2024