Topic: Gallery XML Not Found

Hi Steven,
I have a similar problem,
I'm using v2.3.2, I try to embedding a gallery to my site and it couldn't find the gallery.xml
here is the link:
http://barnag.com/galeriaproba1.html
Could you sove me this issue asap?
Thanks in advance,
Peter

Re: Gallery XML Not Found

Unless you specify a path to an XML file using a configURL or a path to a complete gallery folder using a baseURL, SimpleViewer will look for the XML file to be named 'gallery.xml' and to be located in the same directory as the web page containing the gallery's embedding code (and your gallery's XML file is not in that location).

As you have uploaded a complete gallery folder ('/galeriak/prg20090601/'), you can use a baseURL in your embedding code to point towards it.

Use the following embedding code and your gallery should display fine:

<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="/galeriak/prg20090601/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
    var flashvars={};
    flashvars.baseURL="/galeriak/prg20090601/";
    simpleviewer.ready(function () {
        simpleviewer.load("sv-container", "350", "300", "FFFFFF", true, flashvars);
    });
</script>
<div id="sv-container"></div>
<!-- END SIMPLEVIEWER EMBED -->

For reference, the baseURL method of embedding is documented here.

[Original post moved to new forum thread.]

Steven Speirs
SimpleViewer Support Team.