I’ve written a nice plugin had resizes images using jQuery but things have moved on a lot since. The plugin is mainly there for Internet Explorer 6! If you do not need to support IE6, then there is a method available that does not need JavaScript or jQuery at all.
Here is a working example: