Topic: SimpleViewer seems to ignore other than gallery.xml


I have problem to force SimpleViewer to use custom name for. xml file

My page is here (go to english) then underwater>lakes

I'm maintaining gallery in english and polish. One defined in gallery_en.xml and second in gallery.xml file.

The problem is that when pointed to gallery_en.xml the viewer seems to still use gallery.xml file

Here is embedding code of english version (pointing to gallery_en.xml):

    <script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
    <script type="text/javascript">
    var flashvars = {};
    var params = {};
    var attributes = {};
    flashvars.galleryURL = "gallery_en.xml";
        jQuery(document).ready(function () {
        SV.simpleviewer.load('sv-container', '100%', '100%', 'transparent', true , null, null, null, false, flashvars, params, attributes);
    <div id="sv-container"></div>

Note that both .xml files are in gallery folder the same where .html files are

What can be the reason of this behaviour?

Re: SimpleViewer seems to ignore other than gallery.xml

Your Embed Code Parameters are incorrect.
Use the following line in your embedding code:

SV.simpleviewer.load('sv-container', '100%', '100%', 'transparent', true, flashvars, params, attributes, false);
Steven Speirs
SimpleViewer Support Team.

Re: SimpleViewer seems to ignore other than gallery.xml

Now all work fine. Thanks for quick reply.