Opened 5 months ago
Last modified 5 months ago
#63671 new defect (bug)
Image Not Displaying or Editable in WordPress Media Editor
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | major | Version: | |
| Component: | Media | Keywords: | reporter-feedback |
| Focuses: | ui | Cc: |
Description
When attempting to edit an uploaded image via the WordPress Media Library, the image does not display, and image editing functions (crop, scale, rotate) are not responsive or effective.
Steps to Reproduce:
- Go to Media > Library.
- Click on an uploaded image.
- Click on Edit Image/Edit more details option.
- Click on the Edit Image button.
- The image preview area is blank.
- Attempting any edits (e.g., cropping or scaling) has no effect.
Expected Behavior:
The image should be visible in the edit screen and allow cropping, scaling, and other edits.
Actual Behavior:
The image is not rendering in the preview panel, and none of the edit actions take effect.
Attachments (3)
Change History (7)
#1
@
5 months ago
- Focuses accessibility javascript performance removed
- Keywords reporter-feedback added
#2
follow-up:
↓ 4
@
5 months ago
- Focuses accessibility javascript performance added
- Keywords reporter-feedback removed
Hi @mikinc860,
Thank you for creating the Trac ticket. I’ve tested the issue using the latest WordPress trunk but wasn’t able to reproduce it there. However, I did encounter the issue in the WordPress Playground environment. Based on this, it seems the issue may be specific to Playground.
Screencast:
WordPress latest trunk:
https://ppgtp1rtd3.ufs.sh/f/TnWMEUzoUd85lTX7i9YW9Jq34mQpr7vHsZNoFtMB5gwRIhnz
WordPress Playground:
https://ppgtp1rtd3.ufs.sh/f/TnWMEUzoUd85TQ6sX1ezoUd852SnNLB0yhcIqkmJpWQibDYt
#3
@
5 months ago
- Focuses accessibility javascript performance removed
- Keywords reporter-feedback added
#4
in reply to:
↑ 2
@
5 months ago
it seems the issue may be specific to Playground.
I think so too.
I was able to reproduce on Playground, with network access enabled.
Image in media library editing tool:
<img id="image-preview-6" onload="imageEdit.imgLoaded('6')" src="/scope:energetic-hip-park/wp-admin/admin-ajax.php?action=imgedit-preview&_ajax_nonce=817822f66d&postid=6&rand=55812" alt="">
The console included an error that occurred when the front page loaded (before uploading and editing the image, so not likely related):
Failed to load ‘’. A ServiceWorker intercepted the request and encountered an unexpected error. service-worker.ts:216:16
Hello and thanks for the report,
Is this a fresh WordPress 6.8.1 install without any plugin? Can you share the exact media file you uploaded?