Sure... here we go....:
Let's assume you have one set of pictures and you would like to launch it in a different looking galleries.
For example, you want to show the thumbnails on the left with 4 columns and 5 rows in one gallery and maybe show the thumbnails as 1 row of 6 thumbs right under the big image in another gallery.
Currently, you would probably duplicate the xml file and modify it... which is cool. However the next time you update your gallery with new images, you will have to do it all over again.
I had a need to switch between left and right handed thumbs because I had to show the same gallery in multilingual site which support also right-to-left language (Hebrew).
What I did, is basically modified the buildgallery.php so it creates 2 sets of options $options1, $options2 and created 2 additional XML vars $xml1, $xml2.
Then I assigned each of the $xml vars with the corresponding $options value.
At the end of looping through the thumbnails (and creating the default $xml var without the options) I appended the $xml value to $xml1 and to $xml2
Now I have 2 XML streams waiting to be written out.
I copied the section of the xml file export and modified it so each copy created a different xml file using the corresponding $xml1 and $xml2 vars and different file name of course.
Next step, I duplicated the index.html and created index1.html and index2.html.
Added the "fo.addVariable("xmlDataPath", "file?.xml"); " to each file where the ? is 1 or 2.
And that's it... when you launch each index?.html you get differently looking gallery with the same pictures.
My next step would be to modify the buildGallery so it can manage more than 1 image folder at once. I've been also thinking of building some admin tool where you can create galleries and skins by using a form... or integrate it with the Windows XP publishing module so you can just select the images on your computer and publish them to the correct gallery/folder on your web site and then it will automatically update the xml files... lots of options... but not sure if the creators would allow this though :-)
Hope this helps...