fix-image-upload-issue-wordpress

How to Fix Image Upload Issue in WordPress (Quick Guide)

The image upload issue in WordPress is very common and you can resolve it on your own, no matter how much new you are on the platform. When you get this issue, you must be receiving errors such as a file size error or a WP HTTP error.

In this post, we’ll help you know how to fix image upload issue in WordPress. This issue occurs unexpectedly in usual cases. Sometimes, it also occurs when you make changes to your website. Let’s dive in to know the fix.

Common Reasons of Image Upload Issue and Their Fixes

Some of the image upload issues on WordPress are easier to fix than other issues. Here are all of them.

  1. Unable to Upload an Image File

Sometimes, only a specific file doesn’t upload while others do. You can fix this issue with any of these two ways.

Resizing the image will resolve the image upload issue in WordPress because the reason could be that the image is perhaps too huge. You can easily resize any image in an online or offline image editor.

The reason could also be that the image name special characters such as &, #, %, etc. The solution to the image upload issue in this case will be to rename the image in a simple form.

  1. Receiving File Size Errors

Being same as the above one, when your image or media file has the size bigger than the required size, you can see difficulty uploading the image or the file to your WordPress.

You can fix this issue by increasing the file size in your php.ini file (access this via an FTP) and paste this code in it:

upload_max_filesize = 128M
post_max_size = 128M
max_execution_time = 300

You can also consult your hosting provider to increase the file size limit for you.

  1. The Media Library Shows Blank

When you can’t see images, rather the library is blank whereas you had images in it, then the image upload issue is related to your upload folder. Here’s how to fix it:

  • Access your WordPress by FTP
  • Head to the wp-content folder
  • When inside the folder, open the Uploads folder
  • Right click on this folder and click File Permissions
  • Put 744 in the numeric value slot
  • Check the box saying “Recurse into subdirectories
  • Click “Apply to directories only
  • Click OK

Reload your file to see if the image upload issue is resolved.

  1. Receiving WordPress HTTP Error

The two main reasons of receiving an HTTP Error on your WordPress while uploading an image or video are 1. Multiple threads in the image processor, and 2. WordPress memory problems.

To resolve the first error, access the WordPress by FTP

  • Head to the htaccess file and paste this code:

    SetEnv MAGICK_THREAD_LIMIT 1

  • Reload your file to see if the image upload issue is resolved.

To fix the second issue, access the WordPress by FTP

  • Head to the folder where your files are placed
  • Open the wp-config file and paste this code:

    define( ‘WP_MEMORY_LIMIT’, ‘256M’ )

  • Reload your file to see if the image upload issue is resolved.

Your Comment:

Related Posts

Fix-Error-Too-Many-Redirects-in-WordPress

02

Jul
How To

How to Fix Error Too Many Redirects Issue in WordPress

Too many redirects issue on WordPress? No worries! This happens due to an incorrect settings or faulty plugin. When this issue arises, the user is unable to enter their website’s dashboard. Go through this complete post and save yourself from the hassle of not being able to access your website due to the ‘too many redirects’ error. […]

fix-add-media-button-not-working-wordpress

01

Jul
How To

How to Fix Add Media Button Not Working in WordPress

WordPress is becoming advanced day by day but there are some technical failures that keep occurring every now and then. Among those common issues is the add media button not working issue. The worst part that users feel so much frustrated about is that there is no warning or notification why the button isn’t functioning. No matter[…]

Fix-Wordpress-Login-Page-Refreshing-Redirecting-Issue

30

Jun
How To

How To Fix WordPress Login Page Refreshing/Redirecting Issue

The issue of WordPress login page refreshing/redirecting is very common. When this happens, users get locked out of their website’s admin dashboard and cannot access anything inside it. Although this WordPress issue can occur at anytime due to some specific reasons, there are some easy solutions to resolve it. In this post, we help you discover how[…]