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

WebP auto fallback #111

Open
timothymiller opened this issue Sep 7, 2019 · 1 comment
Open

WebP auto fallback #111

timothymiller opened this issue Sep 7, 2019 · 1 comment

Comments

@timothymiller
Copy link

Feature Request

It would be awesome if this library could provide boilerplate code for falling back to JPEG/PNG file formats when WebP is not available, like in the example, but automatically for all images when withOptimizedImages is ran during the build process.

@JannikZed
Copy link

maybe in combination with the responsive-loader feature, that could generate a srcSet and a src automatically?
I'm also having the question, if it's possible to use the webp feature and the responsive-loader in combination, so first create a webp image and afterwards a srcSet with different sizes and a fallback img automatically - that would be amazing!

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

No branches or pull requests

2 participants