-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
Avif with jpeg fallback #451
Comments
Related Issue: #361 Going to close this. |
Apologies in advance for responding to a closed issue, but I think this issue should not have been closed: #361 is about responsive loading of images, in other words: let the browser pick the best size These are related but not the same. I can't currently find a way to use, say, Thanks! :) |
@tykling Thats true, you can't do file format fallback with the The idea in 361 is to add a "sources" property that would work with file formats or size or whatever. |
I see, ok thank you. Looking forward to it! 👍 |
Important.
Is see Avif extensions are supported (based on other closed issue)
Please describe the feature you want to be implemented.
It think it's needed to offer a fallback to jpeg when using avif, jpegxl or webp.
I reviewed several lightbox solutions and no-one seems to offer this.
Explain why the feature is useful
Newer browsers use AVIF, so images load faster, less bandwidth is used for the same quality.
Older browsers fallback to JPEG.
Have you seen it somewhere else?
I use this now for my thumbnails, a combination of img srcset (for responsive loading) and source srcset, wrapped in the picture tag.
Additional context
If there is already some workaround (I , I'd like to know, however I couldn't find it in the documentation.
The text was updated successfully, but these errors were encountered: