Our most recent news and updates

How to Fix the Image Upload Issue in WordPress

The image upload issue in WordPress is one of those irritating errors that has no clear solution, meaning it has a number of different causes and a number of different solutions you’ll need to weed your way through.

The most frustrating part of this error is how randomly it occurs, making it almost impossible to predict. It’s not one of those issues you can prepare for by creating a backup of your site prior to making a major or minor change.

However, there are a number of different ways you can resolve this issue, and we’re going to go over 7 different options you have.

Asking Your Host for Help with the Image Upload Issue

If you’re inexperienced with WordPress, you might save yourself some time by asking your host to correct this issue for you. They may not be able to do anything, but it’s still worth asking in case they’re able to correct the issue swiftly.

If you are not able to resolve the issue with the help of your host, proceed.

Does the Image Upload Issue Occur for All Images or One Image?

The solution you use to correct this problem depends on whether the image upload issue is occurring for all of the images you upload (including the ones already in your media library) or just one image.

We’ll go over each solution below, but here are two lists of solutions you can take for either scenario.

If the image upload issue occurs with all images:

  1. Change file permissions.
  2. Deactivate plugins, especially plugins that optimize images.
  3. Increase your site’s PHP and WordPress memory limits.
  4. Remove the file path on the Media Settings page.
  5. Check to see if the PHP version you’re using is causing issues.

If the image upload issue occurs with just one image:

  1. Rename the image.
  2. Decrease the image’s resolution.

Solution #1: Change File Permissions to Fix the Image Upload Issue

You’ll need to use an FTP client or access your host’s control panel for this solution. When your host makes updates on your server, they may affect your site’s file permissions, causing the image upload error to appear.

These instructions refer to FileZilla, a popular FTP client, so follow along carefully if you plan to use your host’s control panel or a different FTP client.

Access your site’s files, and open your site’s root directory, typically called public_html. Open the wp-content folder. This is where the Uploads folder is located. The Uploads folder contains additional folders that store your media files when you upload them to your site.

Uploads File Permissions

Right-click the Uploads folder, and select File Permissions. Make note of the numeric value that’s already there.

In the Change File Attributes window, change these settings:

  • Numeric Value: 744
  • Recurse into Subdirectories: Tick.
  • Select the Apply to Directories Only radio button.

Change File Permissions for Image Upload Issue

Click OK once you’re done. Repeat the steps and change the 744 to 755 if it didn’t work for you. Right-click the Uploads folder and select File Permissions if it didn’t work. Enter the original numeric value that was there when you started, and continue to the next solution.

Solution #2: Deactivate All of Your Plugins

If you use a plugin to optimize your images, try deactivating it before uploading images to see if that fixes the image upload issue for you. Try deactivating all of your plugins if not. If your site has grown quite a bit and uses a lot of plugins, you may be reaching its memory limits, which may prevent you from uploading media files.

Continue to the 4th solution if deactivating your plugins did not work for you. Find a new image optimization plugin if deactivating your current one fixed the issue for you, or contact the developer directly to see if they have a solution. Continue to the next solution if deactivating all of the plugins worked for you.

Solution #3: Increase Your Site’s Memory Limit

It’s possible your site has grown to the point where you’re reaching its WordPress and PHP memory limits, as stated in the previous solution. This is especially true if your site runs on a shared hosting server as shared hosts often put strict limits on the amount of memory its users are allowed to use.

If you are on a shared hosting server, you may have a tough time increasing your site’s memory limit yourself and may need to ask your host to do so for you. We’ve created an entire post explaining how to increase your memory limit in WordPress.

It requires accessing your site through an FTP server, editing your files and adding code to them, so be prepared to do all of that if you’re still new to WordPress and building websites.

Solution #4: Remove the File Path from the Media Settings Page

This isn’t a popular solution to the image upload issue, but it has worked for some. Sign into the admin area of your WordPress site, open the Settings menu, and select Media. If you see a file path with a textbox displaying where the files should be uploaded to, delete the text in the file path textbox, and click Save Changes once you’re done.

If you open the Media Settings page and only see dimensions for images and a setting that says your files should be organized into month/year folders, you won’t find any use with this solution.

Solution #5: Change the PHP Version You’re Using

WordPress is developed with PHP, a server-side scripting language. PHP has its own updates similar to how WordPress, your plugins and theme need to be updated. WordPress requires PHP version 5.2.4+ at the bare minimum, though it recommends PHP 5.6 or later, as of May 2016.

Some users have been able to fix the image upload issue by upgrading to the latest version of PHP or downgrading to a previous version of it. You can do this in cPanel by selecting PHP Config under the Programming, Software/Services or Advanced sections.

If you’re a novice WordPress user, enlist the help of your host to make sure it’s okay for you to change your PHP version as the change could potentially break your site. Backup your site at the very least, especially your .htaccess file.

All you need to do is select a different PHP version in PHP Config, and save your changes.

Solution #6: Fix the Image Upload Issue by Renaming Your File

If you’re experiencing this issue with one image, your solution may be easier than the previous solutions. Try renaming the file on your computer prior to uploading it to WordPress to start out with. Make sure there are no apostrophes in your file names as this tends to cause this error to appear.

Make sure your file names are written in all lowercase letters. Try changing the file type if it still doesn’t work, such as turning a .jpg file into a .png file and vice versa.

Solution #7: Optimize the Image Before Uploading it to Your Site

Uploading images that are larger than you need them to be causes a variety of different issues, among them being this image upload issue. It can also cause you to hit your site’s memory limit quicker than it should have.

A good rule of thumb to follow is to never upload a regular blog post image that’s wider than your content width, unless it’s a featured or header image. A simple way to figure out your content width is to open any blog post on your site, right-click anywhere within it, and select Inspect Element.

Content Width

Click each arrow to open more of the code until you find a class called “content.” Hover over that class once you find it. It should highlight the content area of your post. Once it does, it’ll display the width of your content area in a small, yellowish pop-up box.

Content Width

Try to keep your images at or below this width. You can also pick a maximum file size to optimize your images even more. Most sites stick to a 100 KB maximum file-size rule and optimize their images based on that number prior to uploading them to WordPress.

If you want a quick way of seeing if this is the issue, resize the image in Photoshop or GIMP, and re-upload it to your site.

Final Thoughts

This is a mysterious issue to have on your site, and many WordPress users state they were unable to fix their own issues even after following all of these steps. If you can’t figure this one out and you still have yet to contact your host, do so as soon as possible. They may have a quick and simple solution for you.

If you are not an experienced developer or WordPress user, you may need to go as far as hiring a developer to take a look at your site for you as there may be an issue with your code that’s uncommon and specific to your site.

Managing a WordPress site on your own is hard work, and fixing these types of issues is even harder. That’s why so many site owners and developers turn to managed WordPress hosts as they do a much better job at managing all of this stuff for you. If you’re on a shared hosting server or are unhappy with your current host, check out Nick’s guide on how to choose the best hosting provider for WordPress.

5 Free Themes + Weekly Newsletter! Interested?


  1. GospelGeek says:

    Solution #4 worked for me!!!

  2. Steve says:

    Ahhhhh…file path on the media settings page….


  3. Ohzna says:

    HI, i tried everything. Even tried my host for help but they just can’t. I’m unable to upload images on my site, it keeps giving me this error: Unable to create directory wp-content/uploads/2017/10. Is its parent directory writable by the server?

    Please help!

  4. Zohaib Hassan says:

    Hello !!!
    I’m facing error on my wordpress site when i upload the image on it max size of uploading file is 800kb i want to increase it tell me how can i do this ?

  5. edo says:

    I did my way, solved very well

    Go to your hosting cPanel, go to PHP Version in the Software block..
    Go to PHP Options in the right button
    Edit to be like this :
    memory_limit 1024M
    post_max_size 128M
    upload_max_filesize 64M

    Then back to cPanel frontpage

    Go to ModSecurity in the Security section
    Change to Disable for your domain.

    VOILAA !!!!


    1. Levis says:

      Unable to create directory wp-content/uploads/2018/08. Is its parent directory writable by the server?

      This is my issue , please help me

  6. David Gmz says:

    Wow! Thanks a lot! Great antology of many solutions on this issue! Btw the solution #4 works in my case which could be cause after migrating the website to another server I supposed keep the old server path which didn’t match with the new server. You save me a lot of time 🙂

  7. Xclamation says:

    Had me scratching my head for a while… Solution #4 gave me the clue that I needed. I’d recently moved my site from a dev folder to the live domain and the media path hadn’t updated… I simply edited the ‘Store uploads in this folder’ path in the ‘Settings -> Media’ admin page and updated the path with the correct location. Thanks for the pointer!

  8. Maksym says:

    Thank you for the great article! The #4 solution also helped me 👍

  9. Judi says:

    Thank you SO much! I’ve had this problem for weeks, and could not figure out what to do. Solution #4 fixed it for me!

  10. Levis says:

    Unable to create directory wp-content/uploads/2018/08. Is its parent directory writable by the server?

    This is my issue, Please someone should help me

  11. Rita Lynn McKenzie says:

    I am a complete novice and all those solutions are another language except for optimizing my photos.

    I’ve been scanning them at 600 dpi and I’ll drop back to 300 to see if that helps. But I’ve been doing the same thing for years and haven’t had any trouble adding to my media library until recently.

    It is frustrating!!

  12. bilal says:

    when i upload image it does not show any error and image uploaded successfully and then it show nothing ..I already change permissions to 755 and i already increase uploading size but all method does not solve my problem

  13. Farrukh says:

    I’m still having issues. It just says “Unable to upload. Try again later.” Please someone help, I have deadlines coming up.

  14. Mev Riaz says:

    My press button in new post wordpress is not working. It dont even allow me to upload pictures.

  15. Jerry says:

    Thank you! After migrating my site from one host to another, your trick #4 solved my issue.

  16. Annonymous says:

    Another solution that worked for me was to reset my permalinks.

    Goto settings > permalinks

    Change to Anything other than Post Name


    Change back to Post Name


    Hard Refresh the image page ( cmd + F5 )

  17. Jason Ryan says:

    Absolute champ! Thanks for this one, that 1st step with switch the file permissions back and fourth will never be forgotten! Huge thanks!

  18. sainad says:

    4. Remove the File Path from the Media Settings Page.
    This is simple but worked for me.

  19. Moka says:

    Jetpack is one of plugins that case this problem because it’s customize the images after upload it by default.

    Also, one small thing is the dash (-) in photo name like this: image-name-here.jpg.

    Do not upload the image with this dashes because it’s case problems. If you use PSD to edit your photos, after save it, edit the name and delete the dashes.

    From my experience, do not change the name of the main folder of plugins. But, rename the plugin that deal with images. I always use (1) before the official name of the plugin to can see it on the top.

  20. Saurabh says:

    Thank you so much!
    I am facing some issue while uploading images with this post i am able to sort them.

  21. help says:

    I am able to upload the media or image in front end editor using PC. But, while trying to upload the same using a mobile device, the upload will go successful without error but the image is not displayed. neither in the post content not in the media library

  22. Chris says:

    I had only some images that did not load.
    My solution was to reset the WordPress permalinks. I found the answer here (1st solution) :

Leave a Reply

Scroll to top

Free Download

Enter your email address below to get access to this free WordPress theme. We will never spam you!

Error: Please enter a valid email address

Error: Invalid email

Error: Please enter your first name

Error: Please enter your last name

Error: Please enter a username

Error: Please enter a password

Error: Please confirm your password

Error: Password and password confirmation do not match