How to Fix Image Upload Issue in WordPress

How to Fix Image Upload Issue in WordPress
April 23 05:12 2017

If you find broken images in your WordPress Media Library and you are unable to upload images, then there could be an issue with the file permissions assigned to your Uploads directory.

You need to correct these file permissions for the Uploads folder and its files, so WordPress can store and display your images without issues.

File permissions are not changed without being triggered by something. There must be something that caused this change in your site’s directory permissions.

Some possibilities include:

  • Your web hosting provider upgraded the server or system.
  • Your site has been hacked or there has been a hack attempt.
  • You added a theme or plugin from an unreliable source, and their bad script is causing the issue.

How to Manually Set Your File Permissions

One option is to contact your web hosting provider. Usually your hosting company’s support team will be able to fix the image upload issues by changing the file permissions for your site.

However, you can also change the file permissions manually.

Simply go to your website’s directory using a FTP client, like FileZilla. You’ll need to go to the /wp-content/ directory.

In this directory, you will find the Uploads folder. To change the file permissions, go ahead and right click on the Uploads folder. Then select File Permissions.

You will see a new dialog box with multiple checkboxes. In the Numeric Value field, set 744 as the value.

You should also check the box next to “Recurse into subdirectories” and select the “Apply to directories only” radio button. Then press the OK button.

Note: If setting the directory permissions to 744 doesn’t seem to fix the issue, then try 755, On some server 755 didn’t worked use 777 there.

Once the permissions have been changed for the Uploads directory, you’ll need to set the permissions for all the individual files in the Uploads directory.

Simply right-click on the Uploads folder once again and select File Permissions. In the Numeric value field, set the value as 644.

Check mark the Recurse into subdirectories option. But this time, you’ll need to select the Apply to files only radio button. Now press the OK button.

Once the permissions are set as shared above, you should be able to upload images to WordPress without a problem!

We hope this article has helped you to learn how to fix image upload issues in WordPress. You may also want to check out our guide on how to upload large images in WordPress.

  Article "tagged" as:
  Categories:
view more articles

About Article Author

Anushka Bisht
Anushka Bisht

I am Anushka Bisht, Site owner of www.turtle7.com has written 1,100 articles for turtle7, where I share news, latest gadget inforamtion, latest technology, health tip and tutorials with the whole world. Your can visit other websites www.wallpapersrapid.com

View More Articles