Title: couldn&#8217;t upload image
Last modified: August 19, 2016

---

# couldn’t upload image

 *  [els76uk](https://wordpress.org/support/users/els76uk/)
 * (@els76uk)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/couldnt-upload-image/)
 * Hi, I’m having difficulty uploading some images – I’ve checked the image is a
   jpg, tried resaving it (using Mac Preview), checked it’s RGB – nothing seems 
   to help. I can upload other images from my hard disk, just not this one, and 
   one or two others.
 * Errors are –
 * Warning: imagecreatefromstring(): Passed data is not in ‘JPEG’ format in /web/
   sites/user/2/227/69170/public/www/eastcastle/wp-includes/media.php on line 253
 * Warning: imagecreatefromstring(): Couldn’t create GD Image Stream out of Data
   in /web/sites/user/2/227/69170/public/www/eastcastle/wp-includes/media.php on
   line 253
    _ [Remaining error messages moderated as they’re all the same]

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/couldnt-upload-image/#post-1569622)
 * > Passed data is not in ‘JPEG’ format
 * The images that you’re uploading are not true .jpg files.
 *  Thread Starter [els76uk](https://wordpress.org/support/users/els76uk/)
 * (@els76uk)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/couldnt-upload-image/#post-1569785)
 * thanks esmi. could you help me a little bit more, please, to help me resolve 
   this. i’ve checked the image in every browser i can get my hands on, both PC 
   and Mac, and they all open it.i tried resaving it using a PC picture editor and
   a mac picture editor, and neither had a problem with it – so how come wordpress
   is telling me it’s not a real jpeg?
 * if i ignore the error, the picture shows up in the media library, but there are
   no resize options.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/couldnt-upload-image/#post-1569786)
 * Ensure that you re-save the images using standard encoding or optimised for web.
 *  Thread Starter [els76uk](https://wordpress.org/support/users/els76uk/)
 * (@els76uk)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/couldnt-upload-image/#post-1569851)
 * here’s my settings in photoshop’s save for web dialog box – [failed jpg](http://www.harmerpr.com/clientdownloads/jpgfail.png).
   However, I tried uploading to a different wordpress site of mine, and it worked
   okay. the original still didn’t, but the resaved version did.
 * is it possible there’s some install/server misconfiguration which is causing 
   this? i even tried auto-reinstalling wordpress, which didn’t help.
 * i’ve also been having
 * Warning: imagecopyresampled(): 166 is not a valid Image resource in /web/sites/
   user/2/227/69170/public/www/eastcastle/wp-includes/media.php on line 423

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

The topic ‘couldn’t upload image’ is closed to new replies.

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [upload](https://wordpress.org/support/topic-tag/upload/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [els76uk](https://wordpress.org/support/users/els76uk/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/couldnt-upload-image/#post-1569851)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
