Kirupa xml photo gallery tutorial help

kirupa’s xml photo gallery tutorial worked like a charm, except it lacked solutions to place different photos with different orientations, i used to solve this problem by adding a background in photo shop to unify their dimensions. Now I have to place them on to a transparent flash background, so i can no longer photoshop my photos with a solid color bgd, and as far as i know, flash won’t support tif or psd, or any layered formats.

I wonder if someone out there could tell me what to do refencing the kirupa xml photo gallery tutorial?

big thanks.