How to Fix the HTTP Image Upload Error in WordPress

This post aims to help solve the increasingly common error that occurs when users upload images to their WordPress Media Library. The process to overcome this issue is extremely frustrating and could be quite consuming.

Some Common Solutions:

****************Put this is your themes function.php****************

add_filter( ‘wp_image_editors’, ‘change_graphic_lib’ );

function change_graphic_lib($array) {
return array( ‘WP_Image_Editor_GD’, ‘WP_Image_Editor_Imagick’ );
}

********************************************************************

Default to GD

If you are afraid that you might mess up while making changes to functions.php then you can install the Default to GD plugin from here

To install the plugin, simply download the Folder and install it as any other plugin and then activate the plugin and it should do its work

Changing Permissions of your site’s “uploads” folder

The HTTP error can also arise due to not enough permissions on the “uploads” folder on your WordPress website’s server. To fix this issue what you can do is to change the permission of the uploads folder in the wp-contents folder (wp-contents/uploads) to “755“.

This can be done either by logging in to the cPanel of your WordPress blog and then going to File manager and changing permissions or by using some FTP client such as FileZilla.

 

I have listed almost all of the methods and fixes to remove the HTTP error that might be encountered by some users while uploading image to WordPress and I hope that the fixes work for you.

How to Fix the HTTP Image Upload Error in WordPress
5 (100%) 5 votes

Deepak

Deepak the CTO of Innovative Hosting has over 5 years of expertise in the hosting and datacenter Industry! He likes writing blogs for simplifying latest technologies so that everyone can understand and relate to them in a better way. He loves learning about latest techie things.

reseller hosting

Leave a Reply