Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
WordPress Plugins
View all Guides

How to Fix Image Upload Issue in WordPress

Last updated on by
Special WordPress Hosting offer for WPBeginner Readers
How to Fix Image Upload Issue in WordPress

Recently, we published an article on how to fix common image issues in WordPress. Not too long after, one of our users asked us for help on a weird image upload issue she was facing. Basically she could not upload any image in WordPress, and if the upload goes through it will show images in the media library as broken. In this article, we will show you how to fix image upload issue in WordPress.

Image upload issues in WordPress

Video Tutorial

If you don’t like the video or need more instructions, then continue reading.

This issue is most commonly caused by wrong file permissions. Your uploads directory should have correct file permissions otherwise WordPress will not be able to store your files in it or sometimes may not even display files from the upload directory. To set correct file permissions for your uploads directory, you would need a FTP client, like Filezilla.

My site was working fine before? Who changed the File Permissions?

This can happen due to a number of reasons. Its possible that your web hosting provider ran an upgrade and something caused the file permissions to change. It is also possible that a hacker made those changes while uploading a backdoor hack. On poorly configured share hosting, it is also possible that when one user installs a theme or plugin from an unreliable source, the script ends up mistakenly changing file permissions for everyone.

If everything is working fine on your website, then you just need to change file permissions back to normal. When in doubt, just ask your hosting provider for support.

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 select file permissions.

Opening File Permissions dialog box in Filezilla FTP Client

A new dialog box for file permissions will open. At first you will need to set file permissions for uploads directory itself and all the sub directories inside it to 744. To do that, enter 744 in the numberic value box, and then check the box next to Recurse into subdirectories. Lastly, you need to click on ‘Apply to directories only’ radio button. Click on the OK button to apply these changes. Filezilla will now start applying file permissions to the directories.

Note: If setting directory permissions to 744 does not seem to solve your problem, then try 755.

File permissions for media uploads and subdirectories in WordPress

In the next step, you will need to set file permissions for all the files in the uploads directory. To do that, right click on uploads directory and select file permissions. In the file permissions dialog box change the numeric value to 644. Check the box next to Recurse into subdirectories. Lastly, you need to click on Apply to files only radio button. Click on the OK button to apply these changes.

Setting file permissions for files in WordPress

Filezilla will will now set the file permissions for all the files. Once it is done, you can go back to your WordPress admin area and try uploading images again.

We hope this article helped you fix the image upload issue in WordPress. For questions and feedback please leave us a comment below, or join us on Twitter and Google+.

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »


  1. Jon says:

    I followed the directions on changing the permissions for the uploads directory, now the site won’t come up and I can’t even get back into my WP dashboard. I’m getting a 500 error.

    Can anyone tell me how to set the permissions as they were originally? In other words, how to undo the hatchet job that is now my client’s website?

    I understand how to reset the directory permissions, but I don’t know what the file permissions were before.

  2. Vanessa says:

    The explanation here on this page is trying to shoot a tiny bird with a cannonball.
    It’s quite simple to fix the problem of image upload error in WP! Just DO NOT use any special or foreign language characters in the file names! and keep them short. This is the 101 of computer file naming protocol anyway and resolves the most cryptic of problems.
    Most times, the best solution is the simplest solution.

  3. christian says:

    Hi Guys, I’ve been having this issue, along with connection lost problem, and it have caused me to abandon my blog. Still painful.

    Anyone with help?

  4. tomasofen says:

    I have problems uploading some images. I didn’t know what the problem was, until i see the filename was using characters with written accent, like the spanish “Según se mire.jpg”.

    Renaming it allows me to upload right.

    Don’t know if this can be helpfull for somebody in the future ;)

  5. Zak says:

    Hi people,

    Try to put this in your themes file named “function.php” in the last line:

    add_filter( ‘wp_image_editors’, ‘change_graphic_lib’ );

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

  6. Jeroen says:


    Followed the instructions and it didn’t solve the problem. Any other idea’s to get the upload fixed again?

    Tnx in advance

  7. Oziel says:

    Didnt work, Im getting “HTTP Error”

  8. Steph says:

    Hey Guys, I followed all the steps and it’s still not working. Everytime I try to upload an image it says “HTTP Error”

    Wondering if someone could help me.



  9. Dave says:

    Didn’t work. :(

  10. linda says:

    Hi, I wanted to add a spreadsheet I created in Excel and have it display in a blog post. Should not be complicated , Right? But I have not been able to do so. 1st I saved the excel as a PDF file. Then I imported the pdf into Photoshop and saved as a jpeg. I try to upload into my WordPress Blog and it will not accept the image. I keep getting an error.

  11. Rae says:

    I was having errors with images uploading and then realised I had an incorrect directory in the main Settings > Media

    • umer says:

      hey guys how are you ..?

      I have problem ..I want somebody help me please..

      In my site images is not working properly in directory and not showing …

      Also this site is not showing responsiveness in mobile ..

      I am waiting for someone whose really know this problem ..I will be very thank full…


Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.