Can anyone help me? I can't install anything on one of our customers servers as he uses shared windows hosting so I need to somehow resize some images on the fly using javascript, basically I'm trying to display any image greater than 640 pixels wide as 640 pixels wide, it's probably a simple matter of doing something with the image width/height but it's keeping the aspect ratio that's doing my head in. Any help is greatly appreciated.