WordPress / WordPress/performance

Enhance the Enhanced Responsive Images plugin to account for more blocks

Open
#2,449 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Plugin] Enhanced Responsive Images [Type] Enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.