# XML Photo Gallery Question

**URL:** <https://forum.kirupa.com/t/xml-photo-gallery-question/201671>\
**Category:** Uncategorized\
**Created:** [September 23, 2006, 8:10pm UTC](https://forum.kirupa.com/t/xml-photo-gallery-question/201671 "2006-09-23T20:10:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![instantpop](https://avatars.discourse-cdn.com/v4/letter/i/e99b99/32.png) [@instantpop](https://forum.kirupa.com/u/instantpop)\
**Post date:** [September 23, 2006, 8:10pm UTC](https://forum.kirupa.com/t/xml-photo-gallery-question/201671/1 "2006-09-23T20:10:59Z")

</div>

Hey Guys,

A little new to the XML side of things and its interactivity with Flash and was hoping to get a quick hand here. I’m using Kirupa’s XML Photo Gallery tutorial ([http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm](http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm)) and want to make a very slight adjustment to it.

I’ve made the viewing area much larger and am wondering if there is a way to center the photos vs. having them default to the top left? The gallery I am working on has a set space, but not all images will be taking up all of that space and I want the smaller photos to appear centered in the viewing area. Is there a way to do this?

Thanks in advance and great stuff on this forum. I just found out it existed today!!
