-
-
Notifications
You must be signed in to change notification settings - Fork 178
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
Convert AVIF to webp/jpeg if not supported by the browser #369
Comments
Actually the server will convert AVIF image to WEBP if webp is first in CONVERT_TYPES, but if avif is first - the image will be served as is even if the client does not support avif |
Thanks for feedback, for this part:
Seems like a bug to me, could you please share your configuration with me? We're developing a new version that will handle issues like this(Original image cannot be used by visitor's browser, for example original image is AVIF/HEIC while the user's browser only supports WebP/JPG/PNG), there is a PR for this: #367. |
Nice to hear about a new version, what is your time estimate? Here is my config. If I put "webp" in front of "avif" in CONVERT_TYPES - my banner gets converted. But I want it to convert to webp only if user browser does not support avif
|
@grobitto Thanks for more details, got it, seems like a bug. This PR should be done in the following weeks, stay tuned. 😎 |
Is your feature request related to a problem? Please describe.
I would like to use AVIF files directly as a source in my CMS with webp server go, providing fallback for older browsers, but webp server does not convert AVIF to another format, even if browser is not supporting it.
Describe the solution you'd like
Webp server would convert AVIF to another format if not supported by the browser.
The text was updated successfully, but these errors were encountered: