2005-03-13, 15:33
i'm writing a script to grab an image from a website and there is no guarantee of the image's size. it can fluctuate.
at the moment i have it all done excpet for the display.
does anyone know any code which will get the image's size and scale it in proprtion on screen. ideally i need it to be 80% or so of the screen width and the image is always in landscape.
much appreciated.
at the moment i have it all done excpet for the display.
does anyone know any code which will get the image's size and scale it in proprtion on screen. ideally i need it to be 80% or so of the screen width and the image is always in landscape.
much appreciated.