Automattic / Automattic/jetpack
Enhancement: Allow excluding images from Photon by class name.
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
### Impacted plugin
Jetpack
### What
If I add a specific class to any image (e.g. 'do-not-photonize') then that image will not be served by Photon.
### How
@jeherve looked into this briefly, but could not figure out how to add a class to the image tag itself (only the figure class) using the block editor.
Contributor guide
Research direction
Start by tracing Jetpack's Photon image handling and the WordPress block editor path that adds classes to image and figure tags. Confirm whether the issue is still applicable, then determine how an image class such as `do-not-photonize` can exclude that image and verify the behavior with the relevant existing tests or a block-editor image reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100