Does the img tag allow for resizing? If not, could it?
I know you can only accept one variable for some reason. Since no one's likely to want to skew the proportions, you could have the tag take a percentage and pass it to both width and height in the html.