Click to See Complete Forum and Search --> : Resizing image to fit different res


rossi
10-13-2003, 10:32 AM
Hi, im in need of some help, ive got a web site with frames, im currently trying to resize the top banner, which i made in fireworks and coverted to HTML and IMAGES, only problem is that its fine in 1024 by 768 but doesnt fit in when i select a lower resulotion ie 800 by 600, ive tried the 100 % malarki, but it doesnt seem to work.

ANY help would be much appreciated.


Many thanks in advance!

ross

Khalid Ali
10-13-2003, 11:16 AM
You should be able to use this code ...it sets the image size according to the resolution.

http://www.webapplikations.com/pages/html_js/image_examples/ResizeImageOnResize.html

Daria
10-14-2003, 11:13 AM
Great tip.
However, it allows distortion - if window is resized manually just by width or height, image stretches... :(
Is a script that does not allow distortion?