Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto WebP activated, "Content-Type: image/webp" returned, but still it's JPG encoded #305

Closed
anibarro opened this issue Oct 5, 2021 · 5 comments
Labels

Comments

@anibarro
Copy link

anibarro commented Oct 5, 2021

Hi,

I have deployed the solution with auto-WebP activated, but it's not working.

The "Accept" header is being sent with the webp type included and the server is responding with "Content-Type: image/webp" (if I try to save the image, the browser saves it with webp extension).

The problem is that the image is exactly the original jpg file, it's not being converted to WebP. If I add a WebP filter ("filters:format(webp)"), then it works as expected.

How could I debug this and what could be the reason?

Thanks!

@gattasrikanth
Copy link

Thanks for reporting the issue. I have added this to our list of backlog items while working on fix.

@anibarro
Copy link
Author

Thanks for checking, can you then confirm that this is actually not working?
I didn't mark it as a bug because it's strange that a feature that so many people is using doesn't work

@gattasrikanth
Copy link

I can reproduce this issue. I do see the size difference in the resulting image with AutoWebP enabled vs filters:format(webp). So I have assigned this to our team for further debugging.

@anibarro
Copy link
Author

Thanks a lot!

@fisenkodv
Copy link
Contributor

@anibarro, we have updated our solution, the issue has been fixed. If you still see the issue with the latest version (v6.0.0), please feel free to reopen the issue.

You can refer to the recent changes here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants