Skip to main content

If you are interested in developing a website/blog then WordPress could be the best option that you can opt for. WordPress offers a wide range of templates and tools to make your website stand out from others. You can edit the template by adding your image, video, etc. One of the most common errors/issues that most web creators face on WordPress is uploading the image into the site. Wondering how to fix the image upload issue in WordPress? There are some criteria that you need to look into to fix the issue.

Before you try out anything on your site, it is important that you make a backup of your WordPress site. This helps you retain the valuable content of your site and at the same time perform troubleshooting.

Upload Issue due to the Name of Image file

The filename of the image can be the reason for failure in the image upload in WordPress. Don’t use any unusual or special character in the name of your image like á, é, í, ó, ú, ü, ñ, ¿, ¡, etc. in your image file. Always be minimal and simple when it comes to naming the image file.

Fix Image Upload Issue in WordPress

Upload Issue due to Image Dimensions

Image dimension is another factor that needs to be considered when there is an issue in uploading the image. So check the dimension of your webpage and make sure the image you are trying to upload fits into it. If you are not sure about the image dimensions then view the Image size under Media settings and set the image according to it. To change dimensions you can use a professional tool like Photoshop or with a simple image resizer online.

Fix Image Upload Issue in WordPress

Upload Issue due to Image File Size

Image file size can also be the reason for causing issues while uploading images. Before uploading a file make sure the size fits your media library minimum requirement. If not then compress the file to the required size and upload it to your media folder.

Fix Image Upload Issue in WordPress

You can also increase the file size to the maximum through the php.ini file from the WordPress main folder (located in the server). Inside the php.ini file, include the following line of the text/code to increase the uploading file size to maximum.

upload_max_filesize = 128M
post_max_size = 128M
max_execution_time = 300

You can also do this by making a call to the WordPress customer care executive and have it done in a matter of seconds.

WordPress Uploaded Image not Showing up in Media Gallery

This particular issue is the most popular and annoying issue of all in the WordPress media gallery. This is mostly due to your internet connectivity. If not, then you need to extend the file permission. To do that,

Fix Image Upload Issue in WordPress
[1] Open the WordPress file using any FTP (File Transfer Protocol).

[2] Navigate and open the wp-content (WordPress content) folder.

[3] Locate the Upload folder and right-click on it to view the context menu.

[4] Choose the File permissions… option from the menu.

File Permissions
[5] Set the Numeric value to 744 and check the Recurse into subdirectories box.

[6] Also, select the Apply to directories only radio button.

change file attributes
[7] Once all set, click on Ok to apply the change and this will permit you to view all content on Media Gallery.

Alternate: If this method doesn’t work then change the numeric value to 755 and this will fix the error.

HTTP Error on Uploading Image

HTTP error is another issue that occurs while uploading an image. It happens because of the two main reasons and they are

  • Exceeding WordPress memory limit
  • Multithreading
HTTP Error

Exceeding WordPress memory limit: If the WordPress limit is exceeded, open FTP and find the wp-config file in your WordPress file and the following line of code/text in the file to increase the WordPress limit.

define( 'WP_MEMORY_LIMIT', '256M' )

Multithreading: This error may also be due to multithreading and this can be prevented by limiting the multithread configuration. Just add the below code in the same wp-config file as mentioned above.

SetEnv MAGICK_THREAD_LIMIT 1

Use Browser Uploader

If you are still experiencing errors in uploading images then try using Browser Uploader to upload the image. All you need to do is Go to Dashboard >> Media >> Add New >> Browser Uploader (blue highlighted below the Upload New media section).

Fix Image Upload Issue in WordPress

This can be a conventional and quick fix for your image uploading issue by uploading the image directly from the browser.

Delete Cache

If you are using any kind of cache plugin in WordPress then it is important to clear cache periodically to avoid any issues (or)

delete cache

You can also disable/remove those cache plugins from your WordPress dashboard to solve the image uploading issue.

Fix Image Upload Issue in WordPress

Sometimes the issue may occur if you have recently updated any of your plugins. So if you know which plugin you updated recently, you can try rollBack WordPress plugins and themes to fix the error.

Conclusion

Hope you fix or at least got an idea about the neverending image upload issue in WordPress. Even after trying all the above-mentioned fixes, if the issue remains then it is better to call WordPress customer support to fix the issue.

For more useful WordPress tutorials and guides, follow our blog.

Leave a Reply