How to Fix HTTP Error When Uploading Image in WordPress Blog

Today i was trying to upload some image in wordpress blog, i got error message like “HTTP error” then after some research i got solution how to fix HTTP error in wordpress actually this is common issue that you can solve easily here i am writing some tips with this you can easily upload image on wordpress site.

Put this is your themes function.php

Tip 2:

add_filter( ‘wp_image_editors’, ‘change_graphic_lib’ );

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

Tip 1:

or may be issues with: The issue was related to my server configuration not having the proper amount of memory allocated to Apache/PHP.

If anyone has this same problem, please try verifying that you have enough (64MB+) server memory allocated to Apache/PHP in your server configuration settings.
You can also add this to your wp-config.php file:

define(‘WP_MEMORY_LIMIT’, ’64MB’);

Tip 3:

Connect to your website using the FTP client and then go to /wp-content/ directory. There you will see /uploads/ folder. Right click on the uploads directory and give file permission 755.

let me know if among three of not working.

If anything else please comment.