New media and image settings in WordPress 2.7

WordPress 2.7 Beta 2 is available for download now and I’ve been testing out some of the new features.  In this post I’ll demonstrate the media and image settings of WordPress 2.7.

WordPress 2.6 introduces new media and image options when writing blog posts.  However the default settings were quite frustrating and couldn’t be modified to any useful extent.  A few settings were buried away in the “Miscellaneous” section of the admin panel but these did not resolve the most frustrating behaviour of WordPress 2.6 and images.

I ended up developing my own sort of “muscle memory” routine when inserting images in posts where I would clear the URL/link field, change the image size from Medium to Large, and then insert the image.  I also had to ensure that any of my themes contained code to define the dimensions of the “Large” image size as only the “Medium” size could be changed in the admin panel.

WordPress 2.7 includes new settings to let you set the default image behaviour exactly the way you like it.

Now I can set the media link default to None as I prefer, set an appropriate Large size without modifying theme code, and have my prefered sizes and alignments already set as defaults so that in most cases I just need to click the Insert button when adding images to posts.

This is a big relief and makes the process of writing image heavy posts a lot less frustrating and error prone.

If you found this post useful please leave a comment below. To receive new blog posts automatically subscribe for free to the mailing list or RSS feed.

Leave a Comment

{ 4 comments… read them below or add one }

BeatlesLane January 13, 2009 at 9:51 pm

Hi. I have upgraded a WP blog to 2.7, but my Media Settings don’t look like yours. I’m missing the “Default Media Links”, “Default Image Size” and “Default Image Alignment” options. Do you know how I can get those options too, or what the reason is that I don’t have them?
Thank you!

Reply

Paul { January 14, 2009 at 8:03 pm

Hi BeatlesLane,

That screenshot in my post is from the 2.7 Beta, so it looks like they’ve changed the settings slightly in the final release.

However, it looks like the default settings are a URL of “none” and alignment of “none”. The default image size also seems to be set to “large”, *unless* your image is larger than the max dimensions you set for “large” images in your Media options.

I hope that makes sense, if not please come back soon or subscribe to my RSS feed so you’re automatically notified when I write an updated post on the topic.

Thanks for visiting!

Reply

BeatlesLane January 15, 2009 at 10:16 am

Hello Paul, Thank you for the answer. Too bad they didn’t keep that part the same in the final release. I think it does remember the last setting that I used when uploading an image, but it would be nice to be able to change it from that Media Settings page, as in your screenshot.
Thanks

Reply

wodge May 4, 2009 at 9:21 am

I’m having the same problem. I tried adding the content_width line to the theme I use (k2) but it didn’t appear to work.

Also, the resizing seems a little bit ‘weird’ it doesn’t just make the image smaller it also seems to add padding to the right and/or bottom of the new image. This means if you use somthing like lightbox to display a full size version of the image it’s aligned to the top left corner with loads of whitespace.

Reply

{ 1 trackback }