Autosizing Images

I just got through using one of the tutuorials to make a photo gallery. It was the XML/Flash one and I was just wondering if there was a way to make the images automatically resize to fit in the window. like any XML codes I can put in. I am the president/webmaster for my car club and that would make it alot easier to put the pics of my members cars up. If there isn’t I can always just use photoshop to resize them.