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.
-
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.
-
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.
-
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.
-
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.
All Comments:
Good post! We will be linking to this great content on our website.
Keep up the good writing.
Your way of describing all in this post is really fastidious, all be capable of easily understand it,
Thanks a lot.
Your mode of describing the whole thing in this article is in fact
nice, all be able to without difficulty understand
it, Thanks a lot.
Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my
newest twitter updates. I’ve been looking for a plug-in like this for quite some time and was hoping maybe you would have
some experience with something like this. Please let me know if
you run into anything. I truly enjoy reading your blog and I look forward to
your new updates.
Wonderful, what a blog it is! This web site presents valuable data to us, keep it up.
Hi, I do believe this is an excellent site. I stumbledupon it 😉 I’m going to come back once again since I bookmarked it.
Money and freedom is the greatest way to change, may you be rich and continue to guide others.
Excellent blog you’ve got here.. It’s difficult to find excellent writing
like yours nowadays. I truly appreciate individuals like you!
Take care!!
Everything is very open with a really clear clarification of the issues.
It was definitely informative. Your site is
very helpful. Thanks for sharing!
Nice post. I learn something new and challenging on websites I stumbleupon everyday.
It’s always exciting to read through content from other authors and practice a little
something from other web sites.
I read this post completely concerning the resemblance of newest
and previous technologies, it’s remarkable article.
I every time emailed this webpage post page to all my friends, because if like to read it after that my friends will too.
Hello all, here every one is sharing such familiarity, so it’s pleasant to read this blog,
and I used to visit this blog every day.
Pretty component to content. I just stumbled upon your blog and in accession capital to assert
that I get actually enjoyed account your blog posts.
Anyway I will be subscribing to your feeds or even I success you get right of entry to consistently quickly.
Saved as a favorite, I really like your site!
Hey! I’m at work browsing your blog from my new apple iphone!
Just wanted to say I love reading your blog and look forward to all your posts!
Keep up the excellent work!
Magnificent beat ! I wish to apprentice whilst you amend your website,
how can i subscribe for a weblog web site? The account helped me a applicable deal.
I have been tiny bit acquainted of this your broadcast
provided shiny transparent concept
That’s very good point
This post is genuinely a good one it helps new internet viewers, who are wishing in favor
of blogging.
This post is genuinely a good one it helps new internet viewers, who are wishing in favor
of blogging.