Newest Posts
Home / Wordpress / Beginners Guide to Fix Common Image Uploading Issues in WordPress

Beginners Guide to Fix Common Image Uploading Issues in WordPress

Beginners Guide to Fix Common Image Uploading Issues in WordPress

Beginners Guide to Fix Common Image Uploading Issues in WordPress

 

It has been a log time since I have published a post in this blog. The reason behind that, It was my exam times. It was a big headache for me. Now that headache is over. Now I’m back to Blogging. Funny is it??? OK! Let’s move on to our today’s topic. The topic that I have chosen for todays is “Beginners Guide to Fix Common Image Uploading Issues in WordPress” There are several types of errors that we found in our life when trying to upload images to WordPress. We’ll discuss each of them here one by one. Don’t think that I‘ll discuss only on the above shown “HTTP Error” in the image. We’ll discuss each and every one, one by one from now on.

1. “HTTP error”

  • This error comes out when you try to upload an Image. There are several reasons behind this error. In most times, this error pops out when you install a new plugin. So first try to fix this error by disabling all of your plugins one by one and identify the exact plugin that causes the issue. If you identified the plugin that causes the issue, keep the plugin disabled. Try a different plugin that does the same job for you.
  • In some cases, I have experienced that this issue pops out when I tried to upload an .PNG version of the image file. What resolved the problem for me is that, I changed the file extension from .PNG to .JPG. Just use an image file converter or Adobe Photoshop to do this for you. I’ll recommend an online tool to convert your image file as your wish. PicResize is the perfect solution for this.
  • Try to decrease the size of the image file which is in pixels. Sometimes this error comes out when you try to upload a bigger image in width and height. Just crop or make the image file smaller in pixels will do the trick for you.
  • Try to increase your memory size limit. Just Copy and Paste this simple code to your wp-config.php  file to increase the memory size. define(‘WP_MEMORY_LIMIT’, ’64M’). Sometimes your host will not allow you to increase the memory size limit. In this case, just contact your hosting provider for assistance. Ask them to just increase the memory size limit.
  • Check that your hosting provider is providing you with the latest of the PHP version available. Sometimes a lower PHP version will also pop out this error.
  • When I was surfing on the web to find a solution to this problem, I found a help topic that resolved this by installing a simple plugin. It is called “Default to GD”. Just give it a try, if it could resolve you this problem.

2. Unable to Create Directory. Is it’s parent directory writable by the server.

Beginners Guide to Fix Common Image Uploading Issues in WordPress

Beginners Guide to Fix Common Image Uploading Issues in WordPress

This is also a major problem when trying to upload images into WordPress. This error can be simply fixed. This error is caused by the “Uploads” folder is not writable by the server. Whet is meant by that? It is simply, that the file permissions of your “uploads” folder is changed. Usually this  may be an output of an upgrade process of  your hosting provider. May be because that a backdoor which has entered your site has changed that suddenly. Let’s see how we can settle this problem.

  • First of all you need Go to Your CPanel and access your File Manager. Go to /WP-content/ . There you’ll find a directory called /Uploads/. Right click on it and select “Change Permissions”.
Beginners Guide to Fix Common Image Uploading Issues in WordPress

Beginners Guide to Fix Common Image Uploading Issues in WordPress

You need to Change it’s Permission to 755. Tick the correspondent boxes in order to change these settings to 755.

Beginners Guide to Fix Common Image Uploading Issues in WordPress

Beginners Guide to Fix Common Image Uploading Issues in WordPress

There is another better way to do this fix. Open your website’s file manager with the use of an FTP client like FileZilla. In my case I’ll use FileZilla. Navigate to /WP-content/ folder again and find /Uploads/ Directory and right click on it. Click on File Permissions.

Beginners Guide to Fix Common Image Uploading Issues in WordPress

Beginners Guide to Fix Common Image Uploading Issues in WordPress

Set the Value as 755 in the box. Tick the Box which says the “Recurse into Subdirectories” and select the Radio Button which says “Apply to Directories only”. Then click OK. Then FileZilla will process your request.

Beginners Guide to Fix Common Image Uploading Issues in WordPress

Beginners Guide to Fix Common Image Uploading Issues in WordPress

There is another step that needs to be followed in order to fix this error. In this step, we will change file permissions to files in the /Uploads/ directory.

First Right click on /Uploads/ and select File Permissions. Set the Value as 644. Select the Checkbox and select the Radio Button which says “Apply to files only.”

This will most likely solve your error. Please make sure to check the file uploader by uploading an image file, if the error persists…

This is all the error that I have found. I’ll hope that these fixes may help you in resolving these errors. If you enjoyed this post and found this post helpful, please like our Facebook Fan Page and Follow us on Twitter and Google Plus and Subscribe to our News box for latest Tricks on WordPress… Cheers!!!

Comments

comments

About TricksLK Author

Harindu Perera is still a student who is doinng his A/Ls. He is interested in the field of Web Developing and designing. Also he is interested in developing sites with wordpress. He also likes blogging. He is the CEO and the Founder of TricksLK.com. You can contact him via his social profiles.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Optimization WordPress Plugins & Solutions by W3 EDGE