WordPress, Twenty-Ten and Image Resize
I discovered today that image resizing wasn’t working for the blog. Amazingly, I’d never had an occasion where I cared about resizing an image until just now. But, when I did, I discovered a frustrating thing. In the “what you see is what you get” (WYSIWYG) editor for WordPress, the images were appearing correctly and looking good according to my sizing. But in preview mode, they were rendering at their original size.
After a bit of poking around, I discovered that my style.css was defaulting image height and width to auto. I removed this (under #content img), and everything was as I would expect. This seems obvious if you’re just talking about the CSS of some page, but I didn’t think of it off the bat, since the theme’s handling of this seems to run completely counter to wordpress.