ampproject / ampproject/amp-toolbox
Optimizer: generate `sizes` attribute as part of image optimization.
Open
enhancement
toolbox-optimizer
- Dominant language
- HTML
- Stars
- 459
- Forks
- 242
- PR merge metrics
- No merged PRs in 30d
Description
Currently, image optimization does not generate a sizes attribute. We should investigate whether there's a good approach to generate a `sizes` attribute as part of image optimization.
//cc @patrickkettner
Contributor guide
Research direction
Start by tracing the image optimization entry point in AMP Toolbox and determine how responsive image attributes are currently handled. Investigate a suitable way to generate a sizes attribute; the work is complete when image optimization reliably emits an appropriate sizes attribute and the behavior is covered by the relevant tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100