Title: Errors and problems uploading images
Last modified: June 6, 2017

---

# Errors and problems uploading images

 *  [liork12](https://wordpress.org/support/users/liork12/)
 * (@liork12)
 * [9 years ago](https://wordpress.org/support/topic/errors-and-problems-uploading-images/)
 * Hello.
 * We’re having issues on our website in the last few days. Sometimes images are
   not uploaded properly, sometimes it takes forever and sometimes it doesn’t work
   at all and there’s the following error – “HTTP error.” and at times it works 
   well (usually with smaller size images).
 * We have installed the TinyPNG plugin a few days ago and we’re working with it.
   So it might have something to do with it? Or perhaps it’s a server/WP issue?
 * Thanks a lot for your help.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [sumithsuku11](https://wordpress.org/support/users/sumithsuku11/)
 * (@sumithsuku11)
 * [9 years ago](https://wordpress.org/support/topic/errors-and-problems-uploading-images/#post-9201338)
 * Hi ,
 * Please try to increase php max_upload_size and max_execution_time.
 * Are you willing to edit the .htaccess file root of the wordpress directory ?
 * You can increase the maximum upload size in WordPress. Open or create the .htaccess
   file in the root folder and add the following code:
 *     ```
       php_value upload_max_filesize 64M
       php_value post_max_size 64M
       php_value max_execution_time 300
       php_value max_input_time 300
       ```
   
 * (please take a backup before make any changes)
 * Regards
    Sumith
 *  Thread Starter [liork12](https://wordpress.org/support/users/liork12/)
 * (@liork12)
 * [9 years ago](https://wordpress.org/support/topic/errors-and-problems-uploading-images/#post-9201355)
 * Thanks a lot for the quick reply sumithsuku11.
 * Before we make changes to the root file.
 * 1. How confident are you that this is the issue? Is this because it says “HTTP
   error”?
 * 2. What are the risks in editing this file?
 * Thank you!
 *  [sumithsuku11](https://wordpress.org/support/users/sumithsuku11/)
 * (@sumithsuku11)
 * [9 years ago](https://wordpress.org/support/topic/errors-and-problems-uploading-images/#post-9201427)
 * Hi ,
 * It may be the reason. I can not assure that this might be the issue. Since i 
   am guessing the reason of the issue from your comments mentioned in the thread.
 * We can figure it out the exact issue by performing the trouble shooting steps
   one by one.
 * No risks to edit this file , if any issue occurred you can revert it back. Do
   not overwrite the(.htaccess) file keep a back up and do the changes
 * That is why i said take a backup of files and database. 🙂
 * Regards
    Sumith Suku

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Errors and problems uploading images’ is closed to new replies.

## Tags

 * [images](https://wordpress.org/support/topic-tag/images/)
 * [media](https://wordpress.org/support/topic-tag/media/)
 * [uploading images](https://wordpress.org/support/topic-tag/uploading-images/)
 * [uploading media](https://wordpress.org/support/topic-tag/uploading-media/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [sumithsuku11](https://wordpress.org/support/users/sumithsuku11/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/errors-and-problems-uploading-images/#post-9201427)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
