Topic: Alternate Image Folder Path
Hi guys, I'm new here!
I'd like to use AutoViewer with this structure in mind:
The goal is to dynamically call the correct gallery by passing a parameter to index.php.
I search around in the forum, and tried this:
1. Edit XMLManager.as and add:
if (_root.imageFolderPath != undefined) imageFolderPath = _root.imageFolderPath; xmlResults.load(imageFolderPath);
3. Add to index.php (not dynamic, but I wanna test...)
var fo = new SWFObject("gallery1/autoviewer.swf", "autoviewer", "100%", "100%", "8", "#181818"); fo.addVariable("xmlURL", "gallery1/gallery.xml"); fo.addVariable("imageFolderPath", "gallery1/images/");
When I access the page, the player is loaded, but the path to the images is wrong... I get an error looking like:
WEBSITE / gallery / Index%20of%20 / gallery / gallery1 / images
Can any help me?