Opened 2 months ago
Closed 2 months ago
#61612 closed defect (bug) (duplicate)
REST API: image cropping is broken
Reported by: | ellatrix | Owned by: | |
---|---|---|---|
Milestone: | Priority: | high | |
Severity: | major | Version: | 6.6 |
Component: | REST API | Keywords: | |
Focuses: | rest-api | Cc: |
Description (last modified by )
When cropping an image in the editor, the REST API request looks correct:
{ "src": "http://localhost:8888/gutenberg/wp-content/uploads/2024/07/image-1.webp", "modifiers": [ { "type": "crop", "args": { "left": 26.566666666666666, "top": 0, "width": 46.86666666666667, "height": 100 } } ] }
But the REST API returns the same, uncropped image.
To double check, that it's a core bug, I've checked out the Gutenberg wp/6.5
branch, and confirmed that the bug is still present (with the 6.6 core/REST API).
Here's the filed Gutenberg issue: https://github.com/WordPress/gutenberg/issues/63319
Change History (3)
Note: See
TracTickets for help on using
tickets.
@ellatrix Could this be related to #61514?