Trouble With WP Images? You May Be Stuck With Some Of It

Every once in awhile I have problems uploading images to my blogs. I wasn’t sure what the deal was, but I finally decided it was time to go after the problem, as y’all know I will almost always do eventually. If you’re having problems uploading images, your reason could be in here.

Frankly I had multiple issues. One, I might try to upload an image and get this weird error message about my homespages and running out of space. Two, the image might upload to my computer, but wouldn’t give me the option of adding it to my post. That obviously does me no good whatsoever. And a couple of times it would just quit in the middle, and that would be that. I could just upload the image to my server and then pull it in, but that negates the WP Smush-it plugin I use to try to reduce the size of some of my images.

So I went online looking for my solutions. The most common solutions I came across were to increase the size of the memory of your site via adding code to a file called php.ini. Not everyone has that file, but it’s easy to create and add, and it actually has solved a problem for me in the past when I had problems after upgrading to WordPress 2.8. But across the board, it doesn’t always work.

I went looking to find out why all the recommendations weren’t working and I came across something interesting and, of course, it makes sense. I have what’s called “shared hosting” via 1&1. The main packages of all the large hosting companies are shared hosting, which keeps the prices down. It’s a great deal, and you pretty much get a lot of space.

Pretty much, that is. It turns out that not all hosts will allocate you all the space you think for everything you do. One of the things about 1&1 is that they restrict the total size of images you can upload in a month. I never knew that until I started doing some reading. However, it doesn’t only depend on the images, strangely enough. It seems that one of the things taken into consideration is the space your plugins take up as well. So, for most of us, we get between 30 and 40 MB of space.

Since I knew I couldn’t do anything about the images, I decided to look at my plugins, which I’ve never really thought much about before. By totally getting rid of 5 plugins, it seems I cleaned up lots of space, and if I make sure not to upload a lot of large images, I shouldn’t have that problem anymore.

Ah, but my problem wasn’t completely over. At this point all that had improved is that images were uploading; I still couldn’t seem to access them. That meant it was time for more research, and after a long while I came upon something that I’d never considered. It seems that, depending on which browser you use, you could have problems uploading images after a certain point. I use Firefox, and I have always used the browser upload for my images. The recommendation I came across was to first clear the cache on my browser, close it, open it back up, then switch to the flash uploader instead.

Hey, I’m game for anything, even if it seems kind of petty. Lo and behold, it worked. It seems using flash overrides whatever blog you were having, and though it seems to take a little longer to process your images, at least it processes them. I did a test on an older post where I had uploaded a very large file, and it handled it with no problems. That turned out to be great because they WP Smush-it had the opportunity to make it a much smaller file, which would help that particular post load much faster.

There you go. If you find yourself having any problems with your images, it could be any of the reasons I mention above. The fixes are relatively simple, and it’s probably best to at least give them a try to see if they resolve your issue before going any further with all the files and such. One other recommendation was to call your hosting company to see if they would increase your file storage size, but everyone said it was doubtful that would actually work.

Digiprove sealCopyright secured by Digiprove © 2011 Mitch Mitchell

11 thoughts on “Trouble With WP Images? You May Be Stuck With Some Of It”

  1. Weirdness abounds! Don’t you love modern technology. I’m glad you got the problem solved. I have had a problem once or twice with a photo that uploaded but did not get added to the post. I found that if I did the image insert thing again, but went to the media library instead of my hard drive the photo was in there and could be linked in easily enough. Some durn gremlin messing with me!


    1. Allan, that started happening to me, and then on one blog it just up and quit, and it made no sense.

  2. The most common issue with problematic upload is after relocating wordpress to another webhost. This also make troubles in updates in general. Actually I want to warn the readers that the latest version 3.1 causes some troubles with layout and navigation. I experienced some problems on two of my blogs today.

    1. Carl, I didn’t have any problems with any of the upgrades to 3.1 on any of the blogs, but I do know it happens sometimes so folks be careful.

      As to the images issue, you might be right, but I haven’t changed hosts at all so that certainly wasn’t my problem.

      1. I figure it out, actually it was a problem caused by plugin WP Navi, I fix it before I receive the actual update.

  3. Wow, sounds like you have been doing some debugging!

    I’m so glad that you mentioned WP Smush-It. I have a website that I am building using WordPress as a CMS and I was trying to figure out a way to make it easier to reduce file sizes for images without going into Photoshop. This plugin sounds like it may do the trick!

    1. Glad to help, Keith; actually, I’d written about it before, and it’s worked wonders in helping my site speed up some.

  4. Hello Mitch,

    Sometimes a strange combination of browser, script and some other weird event you may end up with the problems you had, I sometimes had a problem with mozilla when it didn’t posted the information from the forms I completed. So for example if I wanted to login somewhere, sometime I would hit the login button and the password would be transmitted but not the username. This was a really strange problem I couldn’t resolve, and the people from mozilla didn’t really bother to look into it, so I had to downgrade.

    So, this might be just a problem your are experimenting, but it’s nice you shared your experience you never know when someone may have the exactly same thing.

    By the way you can increase the PHP memory limit by using ini_set(‘memory_limit’, ’16M’) in your wp-config.php script. (of course you have to replace 16M with whatever size you want)

    1. Actually Alex, that didn’t work for me, and it seems it doesn’t work for everyone. Doing that gave me the 500 Internal Server error. And I tested on other browsers as well before deciding to go the Flash update route. Yeah, I could have made this post almost 2,000 words, but decided to skip all the stuff I tried that didn’t work and cut to the chase. lol

  5. Image management is still a complicated thing I would say. I mean bloggers really need to be technical experts in more than one way to keep up with today’s blogging challenges. In fact, I am not changing my theme because many big images in older posts will just jut out into the sidebar area or make look the post ugly altogether.

    Mitch, Does this plugin auto-resize images for the available content space?

    1. It seems to, Ajith. Once I was able to figure out another way to get larger images onto one of my posts it chopped the sizes down drastically.

      You know, I haven’t even thought about changing my theme, but what you’ve mentioned is definitely something a person would need to consider if they’d had images on their blog.

Comments are closed.