WordPress Image Handling Sucks (WP Wednesday)
WARNING: Today's WordPress Wednesday post is a selfish rant - and two days early. So much for Christmas spirit. ;)
Yes, I said it. The words "WordPress" and "sucks" in the same breath. It's a rare thing for a WP fanboy like me to do, but today, the Automattic folks deserve it.
This week's release of WP 2.9 brought some awesome image editing tools to WordPress users - but the entire image handling system is still broken. It's a kludge.
When you upload an image to WP, it "crunches" it - creating up to 4 versions of the image at various sizes (thumbnail, medium, large and original) on the server. These are now the ONLY sizes available to you in your posts. In addition, with the exception of gallery-generated pages, references to these images inserted into posts are specific to the pixel size (150, 300, etc.) rather than the relative size (thumbnail, medium, large, etc). Yes, you can change the pixel sizes of the relative sizes - but once an image is uploaded, you're stuck with the settings of the day.
This wouldn't bother me so much if I didn't know that there was an alternative. Why can't WP resize images on-the-fly at the server?
Example:

This image is located at http://colincarmichael.ca/wp-content/uploads/2009/12/SDC11443-300x199.jpg. See those pixel references in there? This image physically exists on the server. Very limiting.
In contrast, look at these: (from a Drupal site I run, the tech isn't Drupal-specific)
URL: http://www.presbyterian.ca/photoresize/4398/600
URL: http://www.presbyterian.ca/photoresize/4398/300
URL: http://www.presbyterian.ca/photoresize/4398/150
URL: http://www.presbyterian.ca/photoresize/4398/news
See those pixel references in the URLs? There are no images on the server in those specific sizes - the server resizes the original image on the fly as required. See that last one with a relative size of "news"? The server resizes that to a size specified in the settings, in this case 250px.
There's no reason that WordPress' image handling could work the same way. You'd only need to store the original of the image on the server, and you could insert images of any size in your posts. Additionally, if you had "virtual" sizes defined such as full=600px, half=300px, thumb=150, etc, you could have images that would resize gracefully if your theme changes and you now need full to be 400px and half to be 200px.
So, Automattic, how 'bout it? Now that you've given us image-editing tools in 2.9, can you address the broken image-handling problem?
ShareMusings on Pagination
Gee, I thought I was the only one who thought that that the current state of blog pagination made no sense. Apparently, Chris Coyier over at CSS-tricks doesn't think it makes any sense either. His post does a great job of laying out the possibilities and showing why the current standard of the "older" button being to the right, and the home page being "page 1" are problematic.
ShareColin Who?
I'm a digital communications executive specializing in community engagement, social marketing, and online identity management currently serving asthe Associate Secretary, Communications, at the national offices of The Presbyterian Church in Canada.
I can be found on LinkedIn and Twitter and Facebook.
What I’ve Said
- Cambridge Reporter Revisited
- Clay Shirky on Institutions vs. Collaboration
- On The Twitter This Week: 2010-02-06
- Facebook just keeps growing (with grey hair)
- Pranav Mistry on SixthSense Technology (TED Tuesday)
- On The Twitter This Week: 2010-01-30
- On The Twitter This Week: 2010-01-23
- On The Twitter This Week: 2010-01-16
- Oh those questions!
- It’s All In The Timing
What You’ve Said
- @rdjfraser on Clay Shirky on Institutions vs. Collaboration
- links for 2010-02-05 : Being Presbyterian on Facebook just keeps growing (with grey hair)
- Arminta on Beautiful Decay
- Travis Jon Allison on Beautiful Decay
- Sarah on Beautiful Decay
- Colin Carmichael on Beautiful Decay
- James Deane on Beautiful Decay
- James on WordPress Image Handling Sucks (WP Wednesday)
- James on WordPress Image Handling Sucks (WP Wednesday)
- James on WordPress Image Handling Sucks (WP Wednesday)
Categories
- General Interest Stuff (17)
- Local Stuff (4)
- Mobile Post (6)
- Personal Stuff (38)
- Political Stuff (3)
- Random Stuff (36)
- Social Media Stuff (118)
- The Commute (9)
- Twitter Updates (19)
- Web Stuff (2)
The Cloud
On the Twitter...
- .@divorcewealth um, thanks for the DM offering help with "divorce stuff" - but since I'm happily married, no thanks. #unfollow 2010-02-11
- RT @mariobourque: lets see some resumes http://bit.ly/trapezewebdesigner Solid company, 1 of Canada's largest software co's, great benefits 2010-02-10
- this is not cool... www.theglobeandmail.com hijacks the keyboard shortcut for search-in-page and sends focus to their site search! Argh! 2010-02-10
- On a quest to regain my Mayoralty! Maybe the other guy will have to pull out due to a sex scandal. (@ Melville Cafe) http://4sq.com/7yn7la 2010-02-10
- The headline @acoyne was waiting for... ;) RT @andrewbrett: That's what she said. RT @TorontoStar Giambrone pulls out #voteTO #Giambrone 2010-02-10
- More updates...
Powered by Twitter Tools