WordPress Errors

How To Fix Image Upload Issue And Broken Image Error In WordPress? – Video Tutorial

Typically, WordPress works great for all the users who are looking for an easy-to-use content management system. However, at times they may come across a strange error that doesn’t allow them to upload images to the media library. Whenever they try, either the uploading process fails, or all the images seem broken.

This error can be extremely aggravating as it interrupts the entire work.

Make sure you fix image upload and broken image error in WordPress to resume your work at earliest. In this guide, we will tell you a step by step process to resolve this problem. But before that, let’s try to understand the root-cause leading to image upload error.

1 Why Does Image Upload Error Occur?

There are a number of reasons, such as unstable web server, sudden attack on your website or wrong file permission that contribute to image upload error. In order to bring your site back to normal, you need to fix this issue as soon as possible. Here is how you can do it.

2 Fix Image Upload Error In WordPress

This is how a regular website looks whenever this error occursimage upload issue in WordPress

 

To resolve this, you need to login to your web server using FTP. We are using FileZilla for demonstration purpose.

Once you access your web server, go to ‘public_html’ and select ‘wp-content’ folder:

wordpress file structure via FTP

Inside wp-content folder, look for ‘uploads’ where all your media files are available:

wp-content/upload folder via FTP

If you take your cursor to ‘uploads’ folder and highlight it, you can look over some file information just as shown below:

Select the Uploads Folder

One of the most common issues leading to image upload error is file permission. Once you highlight the ‘uploads’ folder, you will know that there is something wrong:

Check file permissions of uploads folder

Right click on ‘Uploads’ and go to ‘File Permissions’ to read, write and make changes:

Change file permissions

Once you’re there, click on ‘Recurse into subdirectories’ and select ‘Apply to directories only’:

Select recurse option

Click Ok and go back to your website to see if the error got fixed:

Select OK to make changes

When you access media library and find out that all the images are still broken, it means that you need to change another input in the file permission:

Go back to the WP Media

Go back to ‘uploads’ folder and right click on it to access File Permissions:

Select file permissions

Now, change the numerical value from 744 to 755 and enable execute for group permissions and public permissions:

Enter 755 and Recurse

Save the changes and go back to your website:

Press the OK Button

Refresh your website once, and you’ll see that all the images are back to normal:

Media should work fine now

So, whenever you face an image upload error, all you need to do is take a look at the file permissions and change the value to fix it.

Typically, when you install a new image plugin or a theme or just get attacked by a virus, chances of your site’s media folder getting affected by it are very high. In that case, you need to change the file permissions and resolve the issue immediately.

Following these steps will help you fix this error easily.

3 How To Fix Image Upload Issue In WordPress? – Video Tutorial

You can also check out this video and understand all the steps clearly

Thanks for reading this guide. We hope it will help you resolve the file upload error in a hassle-free way. Please comment below and share your feedback with us.

Download
Download 3 WordPress themes & plugins​ with lifetime access for FREE!
x