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

Transform method: Choose largest input source from img src and img srcset and source srcset #266

Open
zachleat opened this issue Jan 3, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@zachleat
Copy link
Member

zachleat commented Jan 3, 2025

Eleventy performs image optimization from <img src> and soon <picture><img src> #214. It outputs <img srcset> and <picture><source srcset><img srcset> for you automatically based on your plugin configuration options.

BUT we don’t currently use srcset sources as input. We could use srcset values to find larger input sources for the transform method.

Inspired by #222

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

No branches or pull requests

1 participant