# Random images banner from xml file

**URL:** <https://forum.kirupa.com/t/random-images-banner-from-xml-file/219278>\
**Category:** Uncategorized\
**Created:** [March 15, 2007, 11:13am UTC](https://forum.kirupa.com/t/random-images-banner-from-xml-file/219278 "2007-03-15T11:13:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![grimmus](https://avatars.discourse-cdn.com/v4/letter/g/b4bc9f/32.png) [@grimmus](https://forum.kirupa.com/u/grimmus)\
**Post date:** [March 15, 2007, 11:13am UTC](https://forum.kirupa.com/t/random-images-banner-from-xml-file/219278/1 "2007-03-15T11:13:17Z")

</div>

Hi,

I need to make a image banner that contains about 10 images that randomly fade into one another. I though for simplicity of updating it that i could reference the images from an xml file.

I have 2 questions.

How can i make a random image load and make sure it’s not the last one that loaded.

How can i reference images from the xml file.

Maybe someone knows a resource/tutorial on what im trying to achieve.

Thanks in advance
