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
- Campaign Information
- Exciting News
- The Revolutionary Aspect of Technology is its Ownership
- 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
What You’ve Said
- Name22 on WordPress Image Handling Sucks (WP Wednesday)
- C Campbell on The Revolutionary Aspect of Technology is its Ownership
- Evangeline on The Revolutionary Aspect of Technology is its Ownership
- S. Sinclair on The Revolutionary Aspect of Technology is its Ownership
- Alex MacLeod on Cambridge Reporter Revisited
- @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
Categories
- General Interest Stuff (20)
- Local Stuff (5)
- Mobile Post (6)
- Personal Stuff (39)
- Political Stuff (4)
- Random Stuff (36)
- Social Media Stuff (119)
- The Commute (9)
- Twitter Updates (19)
- Web Stuff (2)