The intention is that the source image will be uploaded in the highest resolution you want to be displayed. So the test is faulted in that my images are only 700px wide.
However, I should include a line that limits the maximum image size to the actual size of the image.
I think I've got it working okay in FF now, but have found an error in IE that seems to be caused by the properties i used to test the height of the window, were actually the height of the page. so when image gets bigger, page gets longer, keeps resizing things over thousands of iterations, and a due to rounding errors it finally gets square.
Last edited by rockyrapier; 01-17-2006 at 01:30 AM.