• The image editor is broken – when I click to edit an image all i get is a broken thumbnail.

    I have reverted to 2014 theme and deactivated all plugins. I even made a copy of the site and set it up on another server to make sure it wasnt the server but it is happening on the duplicate site as well.

    Is there anything else I can try?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi crookedmicks

    I’ve come across this before, and found that the images uploaded by the site operator were HUGE. When you upload an image through the Media Uploader, WordPress will automatically generate a number of images at different sizes, and will also keep the original image. All these will end up in your uploads folder, generally under folders for years and months.

    Log into your hosting account via ftp and track down one of the images that you’re having trouble with. If the original image is more than, say 2000x2000px or a couple of MB, then you can probably safely reduce the size manually, and reupload it to the folder.

    There are also a number of plugins that can help you to reduce the size of images in bulk. One of my favourites is Imsanity (https://ww.wp.xz.cn/plugins/imsanity/)

    Let me know how you go!

    Thread Starter crookedmicks

    (@crookedmicks)

    Hi –

    Thanks for that but I took a look and it doesnt seem to be the problem, Im unable to edit even small images that were uploaded at 250x100px and the largest image the site operator has uploaded is 1.6mb 1700 x 2200px so it’s not huuuuge.

    I installed imsanity and tried it anyway, but no luck!

    Hey crookedmicks

    It could be a number of things. Others have found that a blank/empty line between php tags in the functions.php file will also cause the image editor image preview to fail. This might also happen if you have a closing ‘?>’ tag in the file with invisible characters after it. See here for an example https://ww.wp.xz.cn/support/topic/edit-image-image-does-not-show-up?replies=10

    There are lots of other threads that come up with the same solution. Give it a go and let me know how you go.

    Thread Starter crookedmicks

    (@crookedmicks)

    Hey Andrew,

    Thanks! yeah I had seen that as a possible solution in several threads, but seeing as I am getting this problem even when switching themes (and in the fresh install on the test server ive actually deleted all but the 2014 theme and deleted every plugin) I am pretty confident it’s not a problem with the functions.php file.

    Nevertheless, i have checked the functions.php for empty space at the end and gaps between php tags and come up with nothing.

    I also re-installed wordpress 4 and as a hail mary tried downgrading to 3.9 but I am just constantly getting this broken thumbnail.

    I’m so stumped!

    Ah well, we’ll keep trying!

    Another thread suggests that the GD image library is required to be running on your server for the image editor to work correctly. https://ww.wp.xz.cn/support/topic/edit-media-preview-not-working?replies=19

    To see if it’s enabled on your hosting, you can run phpinfo() to get info about your php service. To do this, create a new file (call it whatever you like) and place in it only the following code:

    <?php phpinfo(); ?>

    Using ftp, place it in your home directory, and visit the url of the file in your browser. Do a find (Cmd-f or Ctrl-f) and search for ‘gd’ in the phpinfo page. It’ll either be enabled or disabled, or perhaps not there at all.

    If you need to get it enabled, contact your hosting provider.

    Again, let me know how you go!

    Thread Starter crookedmicks

    (@crookedmicks)

    It’s enabled 🙁

    I think i might just have to start a fresh site on my test server and reintroduce everything gradually to figure it out. I have tried every solution i could find on the forums and none of them have helped me.

    Hmmmm…it’s worth a shot if you haven’t found any other possible causes.

    Be sure to post back here if you find a particular plugin that’s messed things up!

    Hi Andrewrook I am having this problem on my website and hope you will be able to help me clean up my site.
    Please allow me to post the problem here from my Bing Webmaster SEO error report on http://www.oforitwum.com

    SEO Suggestions
    1) The <img> tag does not have an ALT attribute defined.
    2) The Descripton is missing in the header section of page
    How do I fix these problems here? Please help!

    1)
    target=’_blank’><img src=”http://www.oforitwum.com/wp-content/uploads/2014/10/41rBVhCQFcL-250×250.jpg&#8221; title=”Samsung LN46B750 46-Inch 1080p 240 Hz LCD HDTV with Charcoal Grey Touch of Color”>

    2)
    target=’_blank’><img src=”http://www.oforitwum.com/wp-content/uploads/2014/08/51EBPA7F3cL-250×250.jpg&#8221; title=”Canon PowerShot SX170 IS 16MP Digital Camera with 16x Optical Zoom and 3-inch LCD in Black + 8GB SDHC + Compact Camera Case + Mini Tripod + Accessory Kit”>

    Mango Flower, your’s is a different problem. Please start a new thread.

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

The topic ‘Image Editor Broken’ is closed to new replies.