Topic: gallery relative to html file problems
Hi There
I am having problems with simpleviewer picking up a gallery located outside of the same folder as the html page.
The file structure looks like:
>--galleries
>-gallery1
-gallery.xml
>images
>thumbs
>-webfiles
-viewgallery.html (contains the viewer)
In the HTML:
fo.addVariable("xmlDataPath", "../../gallery1/gallery.xml");
and in the gallery.xml:
imagePath = "../../gallery1/images/" thumbPath = "../../gallery1/thumbs/"
If I move the files to the same as HTML file, to folders below the HTML folder, or to one directory above, so ../gallery.xml, and change the corresponding values mentioned above it works fine.
Am I specifying the relative paths wrong? A direct path isn't working either.
I am using simpleviewer-pro
Thanks
Janice