---
title: "How to Fix the HTTP Image Upload Error in WordPress"
description: "  When working with images in WordPress, it is possible that you get an error when uploading to your site. This error is a rather vague HTTP error. This can leave many people puzzled as to how to..."
url: https://www.inmotionhosting.com/support/edu/wordpress/http-image-error/
date: 2016-04-14
modified: 2021-07-01
author: "Scott Mitchell"
categories: ["Website Error Numbers", "WordPress Hosting", "WordPress Tutorials"]
type: post
lang: en
---

# How to Fix the HTTP Image Upload Error in WordPress

[![Image of the HTTP error message](https://www.inmotionhosting.com/support/wp-content/uploads/2016/04/wp-http-error_http-error.png)](/support/wp-content/uploads/2016/04/wp-http-error_http-error.png)

 
When working with images in **WordPress**, it is possible that you get an error when uploading to your site. This error is a rather vague **HTTP error**. This can leave many people puzzled as to how to fix this. Here we will show you one method to correct the error in your WordPress site.

 
Are you looking for a good server for your WordPress site? InMotion’s [WordPress Hosting](https://www.inmotionhosting.com/wordpress-hosting) platform is optimized for superior performance and security.

## Correcting the HTTP Upload Error

1. [Log into your cPanel dashboard.](https://www.inmotionhosting.com/support/edu/cpanel/how-to-log-into-cpanel/)
2. Using the file manager, navigate to your WordPress site’s root directory.
3. Locate and [open the .htaccess file for editing](https://www.inmotionhosting.com/support/edu/cpanel/file-manager-code-editor/).
4. Add the following line of code at the top of the file:*SetEnv MAGICK_THREAD_LIMIT 1*
5. Save the changes to the .htaccess file.

Now you should be able to upload the image to your WordPress site without issue. If your problems persist, we recommend following our [WordPress Troubleshooting](https://www.inmotionhosting.com/support/edu/wordpress/wordpress-troubleshooting/) guide.
