Create Beautiful Responsive Photo & Video Galleries For Your Site in Minutes

Envira Gallery Blog

Digital Photography Tips, Tutorials and Resources

Image Upload Issues in WordPress

How to Fix Image Upload Issues in WordPress

Written By: author avatar Waseem Abbas
author avatar Waseem Abbas
    

Are you having issues uploading your images to WordPress? Sometimes you may find unknown errors when uploading images, which causes them to display as “broken” in the Media Library. In this article, we will share how to fix image upload issues in WordPress.

Fixing WordPress Image Upload Issues

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.

Upload Error

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.

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.

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.

Set Permissions

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.

Files Permissions

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.

If you like this article, then please follow us on Facebook and Twitter for more free WordPress tutorials.

author avatar
Waseem Abbas

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how Envira Gallery is funded, why it matters, and how you can support us.

author avatar
Waseem Abbas

The Best Drag and Drop WordPress Gallery Plugin

Envira Gallery: Create, Showcase, and Sell Your Work – Trusted by 150k+ Sites.

Enter the URL of your WordPress website to install

Please enable JavaScript in your browser to complete this form.

Upgrade to Envira Gallery Pro

Unlock even more powerful features designed to make your galleries even more beaituful.

Video Galleries

eCommerce

Social media Sharing

Adobe Lightroom

And much more!

Popular on Envira Gallery Right Now!

How to Create a Beautiful Masonry Image Gallery in WordPress

How to Create a Beautiful Masonry Image Gallery in WordPress

Facebook14TweetLinkedInPin1 Are you looking to showcase your photography or image…
Polished and Protected: How to Watermark WordPress Images

Polished and Protected: How to Watermark WordPress Images

Facebook20TweetLinkedInPin Are you wondering how to add a watermark to…

Comments

  1. Very nice blog!!!
    It is very helpful blog to remove this error. The informaion is very clean and helpful.
    So keep sharing

  2. I’m trying to create my second album and it’s been a year since I created the first one. I tried to upload pictures both ways, straight into the Gallery, then into my Media File in WordPress and it only worked to upload them in my Media File even though in Gallery it said they uploaded. But when I checked all of them in my Media File to upload into Gallery, they still didn’t show up in there. In the Gallery Albums, it does show the first picture as a thumbnail for the album file. What am I doing wrong?

    1. That’s not Envira. Envira uses WordPress default functionality for uploading so it sounds like a possible plugin conflict or something. Please reach out to support. They can definitely help you troubleshoot this!

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 privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.


Copyright © [#this year :%Y] Envira Gallery, LLC. Envira Gallery is a trademark of Envira Gallery, LLC.