Fine-Tuning Wordpress 2.5’s Hack Job of an “Upload Media” Feature
Ooh, ahh…Wordpress 2.5 has a new gallery feature! Too bad that doesn’t really help us folks who could care less about it and just want an easy way to upload one image. IT TAKES TOO MANY STEPS! Maybe it’s just my setup, but this is how it works for me in both Safari and Firefox…
- Click Add an Image button
- Upload Image
- Fill out Title, Caption, Description
- Click on “None” button for Link URL; realize the button doesn’t work. Delete the URL from the Link URL input box to manually make it “None”. Then remember that it won’t get saved anyways!
- Press “Save All Changes”…or don’t. It does nothing for you.
- Go to the Gallery tab.
- Click “Show” on your picture.
- Change the Link URL field AGAIN (thank goodness the “None” button works now!)
- Change Size to “Full size” (I went into Photoshop already to make this image the size I want…please don’t try to change it for me kthanks)
- Click “Insert into Post”. Finally.
Are you kidding me? TEN steps to upload an image and add it to your post? Why don’t you just give me all the posting options in the upload tab once I’ve uploaded the picture?

So, I’m not good enough to totally rework this disaster of a feature but I can at least change some of the default values so it’s a little less of a pain. For me, I almost always want the image to link to “none” and the image to be full size. So I changed these defaults in wp-admin/includes/media.php:
Move the radio button from ‘medium’ to ‘full’
lines 470-472:
" : '' ) . "<input type='radio' name='attachments[$post->ID][image-size]' id='image-size-medium-$post->ID' value='medium' />
<label for='image-size-medium-$post->ID'>" . __('Medium') . "</label>
<input type='radio' name='attachments[$post->ID][image-size]' id='image-size-full-$post->ID' value='full' checked='checked' />
Change the defaults from ‘medium’ to ‘full’ (for good measure)
line 51:
function get_image_send_to_editor($id, $alt, $title, $align, $url='', $rel = false, $size='full') {
line 512:
$size = 'full';
Change the Link URL default value from the file URL to none
line 552:
<input type='text' name='attachments[$post->ID][url]' value='' /><br />
I really wish I didn’t have to go to the Gallery tab at all. Maybe the option to add the image to your post (without going to the Gallery tab) is supposed to work, but it doesn’t. So at least these fixes cut down a couple of those steps for me. Wordpress, please fix this soon!
UPDATE: It looks like if I do upload 2+ images at once, the full options (including the “Insert into Post” button) show up right after uploading without having to go into the gallery tab. I also see the “Crunching…” along with the progress bar, which I don’t usually see with a single upload. Too bad I usually just want to upload one image.
Also, my Firefox 3 (beta 5) shuts down whenever I try to use the upload media tool.
April 23rd, 2008 at 2:52 pm
Glad I’m not the only one that hates the new uploader. I usually upload a regular image and a larger version to link to and it is somewhat of a pain with this uploader. I would normally just edit the file as you say but I update via SVN and it makes updating to other versions a bit annoying. Hopefully WP 2.5.X will fix some of these usability concerns..
April 23rd, 2008 at 6:07 pm
Yeah, I’m hoping that the next version will just fix it all…but I’ll keep an old version of my file handy just in case :)
April 25th, 2008 at 9:33 am
i just upgraded to wp 2.5 too. i can’t seem to find any solution, pics i upload are cropped by the image uploader, question is WHY?can’t seem to find a solution anywhere…
June 2nd, 2008 at 6:35 am
I just gave up with “Upload Media” and went back to NextGen Gallery:
http://wordpress.org/extend/plugins/nextgen-gallery/
June 3rd, 2008 at 9:44 am
That looks fancy. But I’m assuming it works better than the uploader huh? :)
March 10th, 2010 at 3:12 am
Will most likely come back again taking you feeds also, Many thanks.