To Top

Possible fix to the problem with Image uploads with WordPress 2.7.1

I was recently working on a project for a client and faced this issue.
Whenever you upload any image to your WordPress site, it does not show up on the site. The name of the file shows up under Media Management, but the actual file never got uploaded.
It does not matter whether you upload the image by

  1. Clicking on the “Image” upload option under “Add New Post” or “Add New Page” screen
  2. or by clicking on Media, and then “Add New” from the new WordPress 2.7.1 menu option
  3. or by using the “Custom Image Header” option that many of my themes provide.

I was very much puzzled and I tried to solve the issue by taking different approaches.

The First Approach
The first approach I took, was to check permissions for the “wp-content” and the “uploads” directory within the WordPress installation.
I even set it to “777″ which basically means “open” to anyone. (by the way, 777 reminds me of the coupon code of DreamHost which offers a heavy discount on their hosting package.)
Anyway, coming back to the point, the permission changes did not help.

The Second Approach
The second approach is to see if any of the plugins is causing this issue. I went to the Plugins area and disabled all the plugins.
I tried uploading an image afterward, but still no luck.

The Third Approach
Third approach does not take a lot of thinking to do. It is just “Ask the Google” approach. After skimming through a couple of links, I finally landed on this thread on the WordPress.Org forums.
and at the bottom of page, I saw this comment.

Solution for the error
Step 1: Log into your admin panel
Step 2: Go to Settings>>Miscellaneous
You will see two options,
Store uploads in this folder
Full URL path to files
Most probably you will see
in the first field.
Step 3: Edit that to just
PS: Please take a backup of what you are editing, in case this trick didn’t work, you can restore the old URL.
This should do the trick.

I tried to manually set it to “wp-content/uploads/” but it still did not work for me.

Then finally, I just went ahead and emptied the text on those text boxes and saved it.
Click for a larger view!
Anyway, This fixed the issue for me and hope it stays fixed when upgrading to the next version of WordPress.
Disclaimer: This post is only given as a suggestion, and please don’t make me responsible if it does not work for you.


  1. wprocks

    Christina Hills

    May 3, 2009 at 6:37 am

    Thanks for keeping us updated with these
    great instructions!
    I often refer my wordpress students
    to your site for your themes. They rock!
    -Christina Hills
    Creator of the Website Creation Workshop

  2. wprocks


    November 14, 2009 at 6:37 am

    I’m having a slightly different problem – though similar. I’m trying to upload a different picture in the custom header area. The picture actually uploads – I get to the place where it can be cropped (and a quick check via ftp finds it on the server), but once I click on the crop picture button, nothing happens. The admin menus remain, but the pic disappears. It’s as if it gets stuck mid process.

  3. wprocks


    June 16, 2010 at 6:38 am

    Thanks for the fix – happy client = happy me!

  4. wprocks


    February 26, 2011 at 6:39 am

    Thanks buddy. In my case was the third approach the final.

Leave a Reply

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

More in Uncategorized