Mandy,
You could also use wget with the -r -l 1 flag (small L). Other parameters work with HTTP auth.

Josh,
You got me wrong. I don’t want to tell people not to use the width and height attributes, but rather prevent them from using them to scale their images. Like if they take a 1024×768 picture and resize it to 640×480 by specifying the dimensions via width&height.