This jQuery plugin allows you to resize html element by setting a maximum size and keeping ratio.
Sample:
$(”img”).maxSize({maxSize:80});
$(”embed”).maxSize({maxWidth:250, maxHeight:150});
Options:
keepAspectRatio. true/false. default=true.
maxSize. max size in pixels. both height and width if maxWidth and maxheight not set
maxWidth. Max width in pixels
maxHeight. Max height in pixels
jQuery maxSize v0.1 (81)

