You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Verify all image processing settings available via REST API #74361
Extend the media REST API to provide client-side processing configuration including available image sizes, quality settings, and feature flags. In the current media experiment, these are passed as editor settings, this needs to be switched to the rest api.
I noticed only one item missing- output mapping (eg. the results of image_editor_output_format). Additionally, I need to verify these are loading correctly from the REST API.
Activity
adamsilverstein commentedon Jan 12, 2026
This appears to be in place already:
gutenberg/lib/experimental/media/load.php
Line 61 in 35a82e8
I noticed only one item missing- output mapping (eg. the results of
image_editor_output_format). Additionally, I need to verify these are loading correctly from the REST API.swissspidy commentedon Jan 12, 2026
I did the output mapping in the media-experiments plugin, so should be able to copy it from there:
https://github.com/swissspidy/media-experiments/blob/dc2267dde0984554e6de1e3ce4bf10310b8908a0/inc/functions.php#L675-L725
There are tests as well to verify they work correctly.
adamsilverstein commentedon Jan 12, 2026
Great, thanks @swissspidy. I'll bring that over along with the tests which I am trying to add as I go.
[-]Add image processing settings to media REST API[/-][+]Add image processing settings via REST API[/+][-]Add image processing settings via REST API[/-][+]Verify all image processing settings available via REST API[/+]adamsilverstein commentedon Feb 5, 2026
This will be fixed once these two PR's merge:
adamsilverstein commentedon Feb 24, 2026
Closing as already fixed