Topic: Run-time Set-Up of Image List instead of gallery.xml

I would like to integrate TiltViewer into an existing web photo album that I am running. From the available example I see there is the option to use :

var fo = new SWFObject("TiltViewer", etc.)
fo.addVariable("xmlURL", "gallery.xml");

The problem is that gallery.xml would have to be updated each time a particular folder of images is updated. I have seen some postings on this forum that talk about a work-round solution of auto-regenerating the gallery.xml using PHP. However this would have to happen "pre-run-time".

Before I go zooming off to get down and dirty with some PHP coding to generate a gallery.xml file for each gallery I have, I would like to know if the TiltViewer object supports any undocumented kind of direct addition of image information, for example something like this:

var fo = new SWFObject("TiltViewer", etc.)
fo.addImage("img/wibble-03.jpg"); //etc.

I already have PHP code to scan a folder and get a list of images, so using PHP to generate the call to "fo.addImage("$imageLocation")" would be ideal.

If the above (or similar hidden feature) does not exist then that's OK. I would just like to know one way or the other.

Thanks !

Re: Run-time Set-Up of Image List instead of gallery.xml

TiltViewer requires an xml file to define the images.

Felix Turner
SimpleViewer Support Team.