Lately, I’ve been working on some WordPress projects for my clients and had this ‘Http Error’ when uploading images (only images) to the Media Library. What didn’t help?
– Switching to the browser uploader. (When I switched I had a Proxy Error and blank page instead.)
– Chmoding wp-content/uploads or the entire WordPress directory to either 755 and 777.
– Deactivating all plugins and switching to the default Twenty Fourteen theme.
You know why it didn’t work? Because these are not the proper step for fixing this specific issue. The problem is, WordPress 3.8 and 3.8.1 (maybe also some previous versions and future ones) uses ImageMagic instead of good old GD for image processing purposes (eg. making thumbnails of uploaded images, etc).
The trick is to either compile PHP with ImageMagic support (if you are on a shared hosting without command line access this doesn’t help because you can’t change your hosting provider’s PHP) or installing a great WordPress plugin Force Regenerate Thumbnails which forces your WordPress to use GD library for image processsing and also regenerates broken thumbnails that you previously couldn’t do because of the error aforementioned. There is one catch, however. You need to have that plugin activated all the time because of the overriding image processing method it does.
I’m also contacting my host to switch to PHP version 5.5 and I hope it will help, because I don’t want that plugin to be installed all the time.
I have now proclaimed you as a god! Both my children and my pets will be renamed in your image. Tithing will be forthcoming.
Thank you!
Thank you!
Thank you!
Please make sure this is pushed up the list in SEO. As I have spent weeks on this. And this week YOU posted the solution with an explanation as to why. Clear, simple painless.
Thanks.
LikeLike
Hey Daggo, thank you very much for your kind words!
I can almost feel your pain. I hope the WordPress Team will make sure to somehow fix this issue in the future releases.
LikeLike
OMG I now proclaim you my god as well!!!
I was getting ready to kick wordpress and my web host down the street and go all TNT Guns of the Navarone (to semi quote Pulp Fiction) until I came across your article!
I have tried everything, I mean EVERYTHING!
Then one simple plug in worked…
Force Regenerate Thumbnails
Im going to be linking you to a mega post, this needs to get out there.
LikeLike
Hey man, thanks for the comment!
Super good you got it solved.
WordPress is cool, it just needs some love. 😉
LikeLike
Love your website! Have really found it helpful.
LikeLike