hey
i suck at maths big time and i got a problem
im making a image script for someone
if an image is wider than 700px the hole page distorts and looks crap
i can set the width and the height of the image easily but if i set the image width to 700 it looks like its been stretched because of the height
so what i need to do is to find out a ratio/scale/%age of the height to the width so the image wont look distored or stretched
and then im going to provide a link to the full size image...
anyone got any ideas?
thanks
adam
i suck at maths big time and i got a problem
im making a image script for someone
if an image is wider than 700px the hole page distorts and looks crap
i can set the width and the height of the image easily but if i set the image width to 700 it looks like its been stretched because of the height
so what i need to do is to find out a ratio/scale/%age of the height to the width so the image wont look distored or stretched
and then im going to provide a link to the full size image...
anyone got any ideas?
thanks
adam















