fbpx
  REQUEST A FREE CONSULTATION
Supercharge your SEO! Subscribe to our newsletter for the latest SEO tactics & best practices

25 Image Media Uploader Problems – WordPress

By
Updated December 31, 2016
one Comment
5

Tim Brown

Tim Brown is the owner of Hook Agency, and strategic marketer focused primarily on driving traffic and leads for small businesses and construction companies.

Having problems with the new uploader system? Does it get “stuck” or otherwise not work for you? Things to try:

1. Make sure you uploaded all the WordPress files correctly. Really, this is probably the most common upgrade problem. If you’re getting any sort of “Call to undefined function” message from the uploader, then this is absolutely your problem. Upload ALL the files. Don’t “overwrite if newer”. Delete wp-admin and wp-includes from the server and upload them fresh from the downloaded files. Really, we’re not making this up, and everybody seems to just skip this step. I would even go so far as to suggest that you redownload the WordPress zip file from the download link above. Some people seem to have downloaded the wrong files or had bad downloads that they didn’t notice.

Note when I say “all the files”, I mean “ALL THE FILES”. This includes all the files in the root WordPress directory. Especially wp-settings.php. Failure to update these files in the root has also caused the “blinking Save/Publish button” problem.

2. Clear your browser cache, restart your browser. Do it twice. Browser caches can be persistent little things. Also remove any files from the /wp-content/uploads/js_cache directory on your site. This may fix problems with the visual editor as well.

3. Update your Adobe Flash to the latest version (esp you Linux users!): Flash.
NOTE: If you update to Flash 10, then you must be running WordPress 2.7 or above. The new Flash version 10 is incompatible with older versions of WordPress.

4. Another known issue is where the media buttons don’t appear at all. This happens when you have an older plugin interfering with the JavaScript. I encountered this problem with an older version of WP-Amazon, but any plugin loading its own jQuery can cause the issue. Disable your plugins and see if the buttons appear. If so, reactivate one by one until they don’t appear any more. Upgrade all your plugins as well.

5. The highly popular Bad Behavior plugin breaks the uploader. Upgrade it to 2.0.14 (or later):
http://wordpress.org/extend/plugins/bad-behavior/

6. mod_security might be causing problems. Disable it to see if that is the problem. To do this, make an .htaccess file in your wp-admin directory. Add this to it:

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

That will disable mod_security for the upload file receiving code in the wp-admin directory.

7. Try a smaller image, in pixels. Filesize is largely irrelevant, it’s the width and height of the image that matters. Smaller images require less RAM. Although WordPress does attempt to tell PHP to allow it enough RAM, not all server configurations allow this and so PHP may not be set to have enough memory to work with larger images. Resize the images to web-sizes before uploading them.

8. Q: It uploads without any errors, but it does not generate thumbnails! The images show up full size on the page, or they are scaled in a really ugly manner.
A: In all cases I have seen this, the problem turned out to be with the image itself. WordPress uses the normal PHP functions for working with images, which are in the “GD” library. GD has problems with certain types of images. One particular image type that it cannot handle is grayscale images. If your image is black and white or grayscale, then make sure that it’s a FULL COLOR image. That is, 24 or 32 bits per pixel. IrfanView is particularly good at converting images up from 256 color grayscale to 16 million color images. Just load the image up, select Image->Increase Color Depth, then resave it. Then upload the image.

Additional: A new issue in WordPress 2.6 occurs when you have a custom directory for file uploads. The upload will work, but the link/thumbnail link will be wrong and so the image won’t appear. This is a bug which can be fixed in one of two ways (either works):
a) Specify the correct URL to the upload directory in the “optional” field just below the custom image path field.
b) There’s a new wp-includes/functions.php which will eliminate the issue. Download itand replace your existing wp-includes/functions.php file with it. This fix will be in 2.6.1.

9. Do you have custom settings on the Settings->Miscellaneous screen? If so, make sure that they are correct. The upload directory must not have a leading slash in front of it (uploads instead of /uploads), and the URL must not have a slash at the end of it (http://example.com/uploads instead of http://example.com/uploads/).

Additional Questions:

Q: The gallery’s align left/center/right selection box doesn’t work!
A: Put this or something similar into your theme‘s CSS file. The images will then align correctly on that theme. You may need to adjust these for your specific theme.

img.centered, .aligncenter, div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
img.alignright {
padding: 4px;
margin: 0 0 2px 7px;
display: inline;
}
img.alignleft {
padding: 4px;
margin: 0 7px 2px 0;
display: inline;
}
.alignright {
float: right;
}
.alignleft {
float: left;
}

The above code is from the default theme.

Q. The captions don’t work or look terrible!
A. Same as before, you need to style them in your theme. Here’s some code that will do the trick. Again, you may need to adjust this to fit your specific theme and color scheme.

.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}
.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}

Q: Why can’t I post “full size” images correctly? Why does WordPress always limit them to 500 pixels wide?
A: Your theme has not been updated to use the new image scaling features properly. WordPress 2.5 allows themes to specify the width of their main content area. The reason for this is that people were commonly posting straight camera photos and then getting annoyed when their images made the blog super wide. All you have to do is add one line to your theme to make it compatible. Add this line to the theme’s functions.php:
$GLOBALS['content_width'] = 800;
Replace 800 with the maximum width you want to allow an image to be in the main blog area.

Q. The “File URL” and “Post URL” buttons don’t work. They just put “File URL” and “Post URL” in there.

A. Stop using Internet Explorer already. Or, if you prefer, download this fixed copy of the wp-admin/includes/media.php file and replace the one in your installation with it:
http://trac.wordpress.org/export/8915/branches/2.6/wp-admin/includes/media.php


If any new developments or fixes come to light, we’ll update this post.

  •  
  •  
  •  
  •  

Related Posts


Tim Brown

Tim Brown is the owner of Hook Agency, and strategic marketer focused primarily on driving traffic and leads for small businesses and construction companies.

Free Marketing Audiobook

Leave a Reply

1 Comment on "25 Image Media Uploader Problems – WordPress"

Notify of
avatar
Sort by:   newest | oldest | most voted
massimo
Guest

i changend the entire folder wp-includes and it works. thank you

Ready to Get Started?

Get a free consultation now
Dan Corrigan
Dan Corrigan
18:43 19 Jun 19
I am a small business owner who was referred to Hook Agency to develop my website, promoting and advertising my business. The first time I spoke with Tim I knew his company would be a good fit for my business. The entire Hook Agency team was very responsive, acommodating, patient, and easy to work with. They made the whole process productive and stress-free. I recommend their services to anyone starting a business or for those who simply would like the best agency supporting their business.read more
Jen Wright
Jen Wright
19:48 06 Jun 19
Truly honest and caring people - I reached out to Hook Agency to schedule a consult with them, and I received a call from Tracy Kelly the same day. He was personable, kind, and took the time to explain what I was looking for wasn't a fit for their agency, but went completely above and beyond to talk to 2 other businesses to see if they would be interested in working on the project I have in mind, and then sent me a follow up email with their contact information. I am so impressed with the Tracy and his honesty and integrity. If you're worried that someone is going to sell you on services you don't need - you can expect a breathe of fresh air with Tracy and Hook Agency.read more
David Keinert
David Keinert
13:17 04 Jun 19
I was looking for agencies because we wanted to create a new website and blog. Hook was one of our top choices, but admittedly, I was nervous based on the fact they had not done work in my industry before. Fast forward to a year later, and I couldn't be happier. The team at Hook is responsive, resourceful, creative, and fun to work with. We have great content on our blog, and website continues to grow each month. I'm "Hook"ed!read more
Ryan Hanson
Ryan Hanson
03:10 24 May 19
We have nothing but great things to say about the Hook Agency. Their website work, and subsequent SEO, blog writing, and social media expertise have done wonders for our lead pipeline. We would recommend them to anyone looking for a competent and professional digital marketing team. We already have them contracted to do another project!read more
Jesse Hoekstra
Jesse Hoekstra
20:17 15 May 19
Great company to do some SEO work with and also a great help on the website building. They have quick response to questions, updates, and last minute changes.
Greg Toler
Greg Toler
17:07 15 May 19
Tim and the entire Hook Agency team has been the exact partner my company needed for all things web design, SEO, and even digital marketing strategy. Was hesitant at first with the complexity of my industry, but they have far exceeded expectations with research and content development. Our SEO position and inbound leads were almost nonexistent. Within three months our website authority and position had drastically increased, and we were consistently receiving organic leads. Now we have closed our first inbound lead as an organization and are transitioning to let Hook manage our PPC. As a small business, Tim has been helped us get the best bang for our buck while getting to know our company and process to help achieve our goals. We have used several large and small SEO companies in the past, but Hook Agency's management has provided the first measurable difference and growth. Would highly recommend!read more
Josie Franske
Josie Franske
16:11 22 Apr 19
We considered several web-design firms before selecting Hook Agency to redesign a large portion of our company site, and we're incredibly happy with the results. Not only was the team able to create exactly what we wanted, they've come up with some great compromises between keeping our brand voice and SEO writing, providing solutions that I'm confident no other firm would be able to dream up. It's been a very collaborative process and we're seeing great outcomes. They've also provided technical support on some small web issues, which takes major headaches off our plates as a small business without a full-time IT department. We absolutely recommend them!read more
Karine Woodman
Karine Woodman
02:50 21 Apr 19
We absolutely love our website. Hook Agency was very professional and provided us with a website that exceeded our expectations. We've also continued with their SEO services.
Jamie Rykyto
Jamie Rykyto
23:18 21 Jan 19
Very impressed! Long story short, our company website that was hosted elsewhere somehow lost data and went down. When the hosting company failed to do anything about it Hook Agency didn’t hesitate to help. They went above and beyond to get us back up and running. They made us feel confident and comfortable with what they were doing and explained everything each step of the way. I would definitely recommend them!read more
Maygen Lacey
Maygen Lacey
16:16 09 Jan 19
Super impressed with Tim. I had no idea how to find a web developer in my budget. Even though he was well out of my price range, he still very kindly took the time to suggest a few options and and walked me through how pro web developers operate. Class act! Thank you!!
Gibbous Wolf
Gibbous Wolf
19:53 31 Oct 18
Hook Agency came up with highly creative SEO solutions to my growing website. Their process was very insightful and they explained everything in an intelligent way without making me feel talked down to. I would recommend Hook Agency for anyone's SEO needs in Minneapolis.
Casey Palmer
Casey Palmer
18:49 16 Oct 18
Such a good website creator! So creative, responsive and helpful. Great team!!!
Robbin Julien
Robbin Julien
00:29 18 Sep 18
HOOK made the complex topic of SEO far less intimidating. They were patient and understanding with our learning curve. They worked "with" us, educating us as to where the opportunities were. They identified what "they" could do for us and even more valuable, what "we" could and should be doing for ourselves. HOOK and their style of full transparency, had us feeling comfortable immediately and ultimately feeling like we had a trusted partner working for our best interests. We look forward to our future collaboration and success!read more
Andrew Alshouse
Andrew Alshouse
17:24 10 Aug 18
Hook Agency has been a great resource for our small business. From creating our initial site to making updates as we grow, Hook has always been easy to work with. And they are quick with bug fixes which I really appreciate!
Reed Leidle
Reed Leidle
17:07 27 Jul 18
Amazing! Seriously, first class customer service and good people!!! Talk about going above & beyond... couldn't ask for a better experience.
Mark Graham
Mark Graham
18:45 16 Jul 18
Finding a website design company that is highly creative, technically competent , fundamentally sound, well organized, willing to listen and committed to service is unique indeed. We found exactly that at Hook Agency.
Eric Pfeffer
Eric Pfeffer
21:10 05 Jul 18
Without even paying a dime, Tim looked at my google analytics account and my google console account and gave invaluable free advice. Although his services were not a good fit for my needs at this point, I would highly recommend his services for SEO and high raking on google searches. Hook Agency is the way to go!read more
Craig Pladson
Craig Pladson
13:40 25 Jun 18
Tim and his team were collaborative, responsive, fast and delivered quality work on a tight timeline. The Wordpress pages they built are easy to update, mobile friendly and we plan on using the template they built for landing pages down the road. Tim also provided insightful guidance on SEO and lead generation best practices along the way.read more
Anna Overly
Anna Overly
17:28 17 May 18
When I began searching for an SEO agency last year, I received a lot of generic proposals from SEO agencies who wanted our money but didn't show any dedication to learning our niche industry. Tim, on the other hand, came to the table armed with a list of keywords to go after, goals to reach, a knowledge of what our competitors were doing, and an eagerness to understand our industry. Since then, Tim has shown a deep commitment to our success and has gone above and beyond to make sure we reach the goals we set. In the last year, our company has experienced a 30.8% increase in conversions from organic search (3mos/3mos) and a 135.06% increase in page views from organic search (3mos/3mos). The conversation has shifted from "let's get more leads" to "we need to hire more employees to handle all this new business." Tim has been incredible to work with, and I'd recommend him highly to anyone looking to hire an SEO specialist.read more
Sarah Lietz
Sarah Lietz
15:19 21 Feb 18
Tim has always been super responsive, creative in design, and helping us long after he should! Highly recommend!
Patrick Lorence
Patrick Lorence
15:52 20 Sep 17
“My company launched our completely revamped website and couldn't be happier with the way the site turned out, and our experience with Tim B Design. They took our old website with outdated graphics, poor sales results and transformed it into a modern, incredibly attractive and sales thriving site. In 6 short months we have seen a 300% increase in sales by online traffic, a greater return than we had ever imagined. Our product keywords are up over 350% and our website can easily be found on top of any major search engine. When we met with them to discuss the project, we were immediately impressed with how easy they were to communicate with—just real, down to earth, believable people that don't talk over your head with tech jargon. They listened and spent ample time understanding our products and message to make sure the site layout was exactly what we wanted.These days, I feel that people get to know your business through your website before they even walk through your door so it better be a good first impression. Our site brings in new clients every single day. The best part is that my website is so easy to use, I am able to edit content whenever I need to. It’s become such a great tool for my business. I am so in love with my branding, I receive compliments everyday. The Tim B Design team is amazing. They are creative, quick and so much fun to work with, I highly recommend them to any business.”Brad LorenceOwner, Banksystems Marketing Incread more
Niles Deneen
Niles Deneen
19:44 03 Aug 17
Awesome - we are seeing great improvement in our traffic and engagement. It's a pleasure working with Tim he is such a gifted guru of seo and digital marketing.
Josh Carlson
Josh Carlson
14:44 11 Jul 17
Tim B Design is exceptional to work with! He and his team have a great attitude, they've shown excitement in helping my business, and they are go getters! When I first contacted Tim on his website he responded to me almost immediately which was great. After our first face to face meeting I knew I wanted to work with him. I agreed to have them design my logo and build my website. In the process of doing that Tim thoroughly educated me on the importance of SEO which I knew very little about. There was absolutely no pressure to purchase anything while he was educating me but I decided to enter in an agreement for that too. Shortly after starting SEO they had availability to take over my social media accounts and I jumped at that opportunity. I put my full trust in them and they are doing great with all of it. Because of their work I've already seen growth in the number of sales leads generated by my website which is terrific! If you need help with any of these areas you need to contact Tim B design. Thank you Tim and Bea!read more
Next Reviews Write a review