Image data does not exist. Please re-upload the image

I had this error message when uploading images in WordPress. Image dimensions were set to 0x0 and the thumbnails did not appear.

A quick scan of the Apache logs

PHP Warning:  copy(/var/www/vhosts/thedomain.com/httpdocs/wp-content/uploads/thephoto.jpg): failed to open stream: Permission denied in

showed me that I needed to correct the permissions on the /wp-content/uploads directory to allow Apache to write to it.

One Response to “Image data does not exist. Please re-upload the image”

  1. Hassan

    I’m getting this error after upgrading Wp 3.5 +. Not sure why this happening. I can see the image uploaded but can’t find them after clicking Edit Image, Also I dont see the image dimensions for those photos I’m having the error. Anyone?

    Reply

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>