Support » Fixing WordPress » Image data does not exist. Please re-upload the image.

  • I am getting the error “Image data does not exist. Please re-upload the image.” on all my new images I upload, the others are fine but I get that error when I click “edit image” in addition the size tool doesnt work. How can I get this working?!

    Please Help!

    Best,

    Daniel

Viewing 11 replies - 1 through 11 (of 11 total)
  • Try re-saving your images in a graphics application first.

    Hi,

    I’m getting the same message when uploading new images since WP 2.9 (now the same with version 3.0) – no matter if I re-save the images before uploading or not. The thumbnail formats of the file don’t seem to be created and the image size is displayed as “0x0 px” (in the “edit image” dialogue).

    Have you got any other idea for solving this problem?

    Also, automatic updates don’t work anymore and there’s an error message at the top of the Dachbord, sying that an automated update couldn’t be finished.

    Thanks, regards,
    joschi81

    I am having the same issue as joschi81. If anyone has an answer to this, please let me know 🙂

    here is the same problem too.

    I thought this is the problem with plugins. So, I decided to deactivate the plugins. But, it’s not ok. And, next thought is my wordpress version problem. I’m using 2.9.2. So, I thought I should upgrade to 3.0.1. Still can’t upload. Image size is 0x0 and can’t edit too. Delete all plugins. Still can’t. I install third-party gallery plugin. Create gallery and upload in it. Can’t upload image at there too.

    What’s wrong with it. I’ve no idea. I’ve many photos over 645 at there. If I do re-install, I’ll lost all of my data.

    Let me know how to solve this problem. And, if anyone know how to repair, request you all to share at here. I hope, I could get help from you all.

    Thanks and regards
    NMS

    p.s. my blog is blog.nyiminsan.com. wordpress engine install blog. thx

    here is the same problem too.

    I thought this is the problem with plugins. So, I decided to deactivate the plugins. But, it’s not ok. And, next thought is my wordpress version problem. I’m using 2.9.2. So, I thought I should upgrade to 3.0.1. Still can’t upload. Image size is 0x0 and can’t edit too. Delete all plugins. Still can’t. I install third-party gallery plugin. Create gallery and upload in it. Can’t upload image at there too.

    What’s wrong with it. I’ve no idea. I’ve many photos over 645 at there. If I do re-install, I’ll lost all of my data.

    Let me know how to solve this problem. And, if anyone know how to repair, request you all to share at here. I hope, I could get help from you all.

    Thanks and regards
    NMS

    p.s. my blog is blog.nyiminsan.com. wordpress engine install blog. thx

    I just discovered this problem/bug this morning. I have posts from 2008 – 2010. Images featured in 2010 posts are fine. Images that are aligned to post years 2008-2009 seem to a problem.

    When I click the “add an image” button for any 2010 posts, I can see the image dimension. But this is not the case for post 2009> – the full size dimension is listed as 0x0.

    I’ve search Google and the WordPress.org forum and could not find a solution.

    Anyone?

    yes i too have just started encountering this bug. a clue i have found is that as soon as the bug started instead of uploaded images being tagged as “JPG” they are now tagged as “JPEG” before the bug started the effect could be demonstrated by uploading a tiff file (one of my users did that) suggesting that whats going on here (at least on our install) is that the file type tagging is out of whack causing a failure to recognize the the file by wp.

    please if anyone out there is listening has any clue about this help us our sites are totally broken and our content cannot be updated properly without the ability to attach images.

    Hi all,
    I had the same problem, I was pulling my hair out.
    However I tried to upload a simple picture file via FTP and I had the same problem, ie. No WordPress problem.

    A quick call to my ISP solved the problem, my disc space (hosting) was full. I promptly upgraded my account. Problem solved.

    Hope that helps.

    I guess the format, how the meta data of an image is stored has changed. Go to the db table wp_postmeta, search the id of you search with e.g. phpmyadmin, save the old data of the meta_key _wp_attachment_metadata, delete the old image and reupload it. Check if the image can be edited.

    Diff the old an the new _wp_attachment_metadata, you can see what has changed. Go back to phpmyadmin, serach the new id, copy the old _wp_attachment_metadata and save. Now can’t edit the image anymore.

    Is there a tool, which changes the image metadata automatically?

    Okay, i found a solution for my problem. Ich change the path in _wp_attachment_metadata by using a sql-statement. The values are saved as a serialized array, so i destroyed the form how it was stored, because i didn’t correct the number of strings the new filename has. So WordPress trys to unserialize the corrupt serialized array, get a false, no data cabn be restored, so path, no edit, no size, so you get 0x0.

    Little Example:

    before:
    s:4:”file”;s:119:”/kunden/abcdef.de/webseiten/secure/www.abcdefghijklmnop.com/web/wp-content/uploads_de/asgdzenszajauaksddddsdsdsdsds.jpg”

    after:
    s:4:”file”;s:119:”asgdzenszajauaksddddsdsdsdsds.jpg”

    corrected:
    s:4:”file”;s:34:”asgdzenszajauaksddddsdsdsdsds.jpg”

    It’s better to use php and change the data with a script.

    P.S.:
    But before really check the right permissions. chmod 777 your testfile and the thumbs of them.

    DDT

    (@ddt)

    hello,

    I am having the same problem, but in my case it only seem to happen with an image with size 1280×960, smaller images seem to upload correctly.

    I have checked wp_postmeta and i notice the bigger images haven’t got an _wp_attachment_metadata entry at all.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Image data does not exist. Please re-upload the image.’ is closed to new replies.