WordPress / WordPress/performance
Enhance the Enhanced Responsive Images plugin to account for more blocks
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 461
- Forks
- 165
- Avg merge
- 11h 12m
- Merged PRs (30d)
- 28
Description
Currently we have support for:
- Cover
- Image
- Featured Image
- Group
- Columns (and Column)
We need to add support for more blocks to ensure an optimal sizes attribute, especially Gallery (see https://github.com/WordPress/performance/issues/1511#issuecomment-3156926185).
Maybe we need to support the Grid block too, and the Row block would be very similar to the Columns block.
The functionality here provides huge performance gains in my testing, so the better coverage we have for all the core blocks the better. And once that support is present, I think we should proceed with core merge proposal.
See also:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the Enhanced Responsive Images plugin's existing support for Cover, Image, Featured Image, Group, and Columns blocks, then read the linked issue about Gallery. Extend coverage for Gallery and determine whether Grid and Row also need support; done means these blocks produce an optimal sizes attribute and the core merge proposal can proceed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100