Need some help with the photogallery tutorial

http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm

so i read through this very usefull tetorial but i was hoping there would be a way to have the action script automaticly adjust the size ( HxW ) of the picture to fit. cause as it is now when i insert a url for my own picture which is considerable larger then the ones in the tutorial it just shows the top left wuarter of it.