Clicky

Tutorials

How to Fix Image Upload Issue in WordPress

Sometimes when you upload an image on WordPress, the image is shown broken in the media library. This can be really annoying as it halts your work.

How to fix this issue?

In this article, you’ll learn how to fix image upload issue in WordPress.

Why does image upload issue occur?

Image upload issue in WordPress occurs most commonly due to wrong file permissions. If your upload directory does not have correct file permissions then WordPress will not be able to store your files in it. Sometimes it may not even display files from the upload directory.

To solve the image upload issue, you’ll have to set correct file permissions for your uploads directory using an FTP client such as Filezilla.

How to Fix Image Upload Issue in WordPress?

For setting the correct file permissions, you’ll have to connect to your website via an FTP client. I have used Filezilla.

After connecting, go to /wp-content/directory where you’ll see /uploads/folder. Right click on uploads directory and select file permissions.

file permissions

Once you click on file permissions, you’ll see a new dialogue box for file permissions. Firstly, set file permissions for uploads directory itself and all subdirectories inside it to 744. To do so, enter 744 in the numeric value box, and check the Recurse into subdirectories box. Lastly, click on ‘Apply to directories only’ radio button and then click on OK button to apply the changes.

If setting the directory permissions to 744 does not solve the issue, then try 755.

set file permission

After this is done, you’ll need to set file permissions for all the files in the uploads directory. For doing so, right click on uploads directory and select file permissions. Now, change the numeric value to 644 and then check the Recurse into subdirectories box. Click on Apply to files only radio button and then click OK to apply the changes.

644 file permission

 

Filezilla will now set the file permissions for all the files. After this done, go back to your WordPress admin area and try uploading images again, there shouldn’t be a problem now.

We hope that this article has helped to fix image upload issue in WordPress. If your know any other method to fix this issue, please share with us in the comment section.

Share this Story
Load More Related Articles
Load More By Editorial Team
Load More In Tutorials

Leave a Reply

Your email address will not be published. Required fields are marked *

Join Over 50,000+ Subscribers

Interested In
  •   
  •           
  •                      

Search