Title: Edit Image not Working
Last modified: August 30, 2016

---

# Edit Image not Working

 *  [LadyAshk](https://wordpress.org/support/users/ladyashk/)
 * (@ladyashk)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/edit-image-not-working-1/)
 * I can upload images to the Media Library and I can view them. However, if I view
   an image and click the “Edit Image” button I see a broken image icon. Additionally,
   the crop image and rotate image buttons are grayed out. The scale feature appears
   to work, but if I enter a new dimension and click “Scale” I receive the error“
   unable to create new image.”
 * image.php and image-edit.php are present in the wp-admin/include. They have -
   4–rw-r– permissions.
 * Any help would be greatly appreciated. The client I’m passing this off to will
   need image cropping available to them.
 * I’ve tried changing the theme as well as deactivating and reactivating the plugins
   I have installed.

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

 *  [WEN Solutions](https://wordpress.org/support/users/wen-solutions/)
 * (@wen-solutions)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/edit-image-not-working-1/#post-6609057)
 * These two link might help you:
    [https://wordpress.org/support/topic/broken-image-file-problem?replies=3](https://wordpress.org/support/topic/broken-image-file-problem?replies=3)
 * [https://wordpress.org/support/topic/broken-images-theme-issues?replies=8](https://wordpress.org/support/topic/broken-images-theme-issues?replies=8)
 * Please try & let us know. Best of luck!
 *  [TheRealMikeD](https://wordpress.org/support/users/therealmiked/)
 * (@therealmiked)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/edit-image-not-working-1/#post-6609112)
 * I am having the same problem. Fresh install of WP 4.3.1. Can’t edit uploaded 
   images. The editor just shows a broken image. The broken img tag looks like something
   like this:
    `<img id="image-preview-21" onload="imageEdit.imgLoaded('21')" src
   ="/wp-admin/admin-ajax.php?action=imgedit-preview&_ajax_nonce=d69e568161&postid
   =21&rand=71570">`
 * Changing the permissions did not help.
 * I am developing on a Windows 7 box, FWIW, and running the site locally using 
   IIS 7.5.
 *  [TheRealMikeD](https://wordpress.org/support/users/therealmiked/)
 * (@therealmiked)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/edit-image-not-working-1/#post-6609113)
 * I think I figured this out, at least in my case. There was no available image
   editing extension. WordPress tries to use ImageMagick, if it’s installed. If 
   not, it falls back to the GD library. In my case, neither extension was enabled
   in php.ini.
 * I tried to install/enable ImageMagick, but getting it to work with PHP in Windows/
   IIS turns out to be a very deep, dark rabbit hole, and I gave up after a few 
   hours.
 * Enabling GD is a one-line fix. Just uncomment `extension=php_gd2.dll` in php.
   ini. Image editing works now.
 *  [dwheeler](https://wordpress.org/support/users/dwheeler/)
 * (@dwheeler)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/edit-image-not-working-1/#post-6609128)
 * I had the same problem, it wasn’t the GD extension but a blank line in the functions.
   php file in the theme folder.
 *  [Hawaii Loves Art](https://wordpress.org/support/users/hawaii-loves-art/)
 * (@hawaii-loves-art)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/edit-image-not-working-1/#post-6609133)
 * hello, when I try to edit image I get the broken icon and cannot do anything 
   with the image. library is good, images show up on the web pages just fine. only
   prob is cannot edit/rotate etc seems like SOMEBODY who makes WP could tells us
   why this is and how to fix.

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

The topic ‘Edit Image not Working’ is closed to new replies.

## Tags

 * [crop](https://wordpress.org/support/topic-tag/crop/)
 * [edit](https://wordpress.org/support/topic-tag/edit/)
 * [editing](https://wordpress.org/support/topic-tag/editing/)
 * [grayed out](https://wordpress.org/support/topic-tag/grayed-out/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [img](https://wordpress.org/support/topic-tag/img/)
 * [Scale](https://wordpress.org/support/topic-tag/scale/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 5 participants
 * Last reply from: [Hawaii Loves Art](https://wordpress.org/support/users/hawaii-loves-art/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/edit-image-not-working-1/#post-6609133)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
