Blog

WordPress

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.

5 (100%) 3 votes

Leave a Reply

Your email address will not be published. Required fields are marked *

Privacy Settings
We use cookies to enhance your experience while using our website. If you are using our Services via a browser you can restrict, block or remove cookies through your web browser settings. We also use content and scripts from third parties that may use tracking technologies. You can selectively provide your consent below to allow such third party embeds. For complete information about the cookies we use, data we collect and how we process them, please check our Privacy Policy
Youtube
Consent to display content from Youtube
Vimeo
Consent to display content from Vimeo
Google Maps
Consent to display content from Google
Spotify
Consent to display content from Spotify
Sound Cloud
Consent to display content from Sound