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

Support for <picture> based alternative file formats #249

Open
jsonn opened this issue Jul 28, 2021 · 0 comments
Open

Support for <picture> based alternative file formats #249

jsonn opened this issue Jul 28, 2021 · 0 comments

Comments

@jsonn
Copy link

jsonn commented Jul 28, 2021

It would be nice to support alternative image formats, e.g. webp for modern browers as alternative to jpeg. I'm willing to look into the implementation, but it would be nice to agree on the format first.

Option 1: additional options to specify alternative formats.
Option 2: allow multiple white-space separated URLs in the data-at-$width fields and compute the file type based on the extension.

I think the second option is easier to use and would be my preference.

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

1 participant