XML Image Gallery Image Resize

I just got through with the XML image gallery tutorial that Kirupa made. First of all, I would like to thank him for it – a great tutorial.
I am in the process of modifying the tutorial file to suit my needs, and I have come across a problem:
There is an empty movie clip with the instance name “image” that controls where the images from the XML flie are showed in the SWF. The empty movie clip “node” or placeholder aligns itself to the top left-hand corner of the images file. For my gallery to funciton correctly, I need the node to be aligned to the center of the image files, so I can display pictures of different aspect ratios and alignments. I will try and post a file on the internet some time today to demonstrate this if I am unclear with my explination. Thanks in advance!