Title: Replace image modal edit image button edits wrong image
Last modified: August 21, 2016

---

# Replace image modal edit image button edits wrong image

 *  Resolved [Austen Blokker](https://wordpress.org/support/users/eablokker/)
 * (@eablokker)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/replace-image-modal-edit-image-button-edits-wrong-image/)
 * Insert image into post. Then click on image and bring up the image details modal.
   Choose “replace image”. Then select a different image than the one currently 
   selected, and click “edit image” in the attachment details sidebar. The wrong
   image gets loaded into the image editor. It always seems to load only the image
   that is currently selected in the visual editor, not the one selected in the 
   media modal.
 * Note that the delete permanently link right below the edit image link does seem
   to delete the correct image. It’s just the edit image link that’s loading the
   wrong one.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Gregory Cornelius](https://wordpress.org/support/users/gcorne/)
 * (@gcorne)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/replace-image-modal-edit-image-button-edits-wrong-image/#post-4698658)
 * The patch on [https://core.trac.wordpress.org/ticket/27363](https://core.trac.wordpress.org/ticket/27363)
   should fix this issue when committed.
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [12 years, 3 months ago](https://wordpress.org/support/topic/replace-image-modal-edit-image-button-edits-wrong-image/#post-4698670)
 * _Edited: Yep, patch fixed it. Marking resolved_
 *  Thread Starter [Austen Blokker](https://wordpress.org/support/users/eablokker/)
 * (@eablokker)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/replace-image-modal-edit-image-button-edits-wrong-image/#post-4698684)
 * Yes, working correctly now. Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Replace image modal edit image button edits wrong image’ is closed to
new replies.

 * In: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
 * 3 replies
 * 3 participants
 * Last reply from: [Austen Blokker](https://wordpress.org/support/users/eablokker/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/replace-image-modal-edit-image-button-edits-wrong-image/#post-4698684)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
