# Xml photogallery

**URL:** <https://forum.kirupa.com/t/xml-photogallery/175051>\
**Category:** Uncategorized\
**Created:** [January 11, 2006, 11:30am UTC](https://forum.kirupa.com/t/xml-photogallery/175051 "2006-01-11T11:30:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![baxter123](https://avatars.discourse-cdn.com/v4/letter/b/977dab/32.png) [@baxter123](https://forum.kirupa.com/u/baxter123)\
**Post date:** [January 11, 2006, 11:30am UTC](https://forum.kirupa.com/t/xml-photogallery/175051/1 "2006-01-11T11:30:20Z")

</div>

Hi,

I want to use the xml photogallery of this site for my own site. Everything works, but I’ve got 2 questions.

- How can I automatically allign the pictures in the center of the grey box.
- How can I automatically resize the pictures to standard width and hight?

It’s about this tutorial: [http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm](http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm)

Thnx!
