# Xml photogallery dimensions problems

**URL:** <https://forum.kirupa.com/t/xml-photogallery-dimensions-problems/260642>\
**Category:** Uncategorized\
**Created:** [May 18, 2008, 1:15am UTC](https://forum.kirupa.com/t/xml-photogallery-dimensions-problems/260642 "2008-05-18T01:15:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![strawberry](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@strawberry](https://forum.kirupa.com/u/strawberry)\
**Post date:** [May 18, 2008, 1:15am UTC](https://forum.kirupa.com/t/xml-photogallery-dimensions-problems/260642/1 "2008-05-18T01:15:57Z")

</div>

Using xml photogallery tutorial  
[http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm](http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm)

Trying to load pictures that are not the same dimensions as those used in the tutorial so they appear outside the frame…is there a way to constrain the dimensions of the pictures i upload so they will automatically fit into the tutorial frame rectangle?
