Topic: Cannot Parse Gallery XML error

Sorry if this is a repeat topic, but I've been through the forums and can't seem to find an answer that solves my problem.  I have one SimpleViewer 2.13 gallery working perfectly, drawing images from Flickr, at http://mikecostelloconstruction.com/sv- … rical.html

However, when I try to set up the exact same thing here: http://mikecostelloconstruction.com/sv- … -bath.html I get the "cannot parse gallery xml" error message.  I used SVBuilder to create both gallery files.  Even when I copy over the files from the directory that works to the directory where I get the error message, I get an error message - could it be something missing from the second directory?

Here's the embed code that's in the non-working html file:
    <!--START SIMPLEVIEWER EMBED -->
    <script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
    <script type="text/javascript">
        var flashvars={};
       flashvars.galleryURL = "gallery-bath.xml";
    simpleviewer.ready(function () {
        simpleviewer.load('sv-container', '600px', '600px', 'FFFFFF', true);
    });
    </script>
    <div id="sv-container"></div>
    <!--END SIMPLEVIEWER EMBED -->

Here's the entire contents of gallery-bath.xml:
<?xml version="1.0" encoding="UTF-8"?>

<simpleviewergallery

    useFlickr="true"
    flickrUserName="Costello Construction"
    flickrTags="bath"
    title=""
    backgroundColor="FFFFFF"
    textColor="333333"
    frameColor="CCCCCC"
    indexPageName="portf-bath.html"
    galleryWidth="600px"
    galleryHeight="600px"
    galleryStyle="CLASSIC"
    frameWidth="5"
    showOpenButton="false"
    showFullscreenButton="false" />

Hopefully this is an easy fix just due to my supreme ignorance about xml and javascript...Thanks in advance for your help!

Re: Cannot Parse Gallery XML error

When I view your gallery at http://mikecostelloconstruction.com/sv- … -bath.html I get a 'Gallery XML Not Found message'.
When using a galleryURL as a flashvar, you need to include the flashvars as an Embed Code Parameter: http://simpleviewer.net/simpleviewer/su … tml#params
Your embedding code should be:

<!--START SIMPLEVIEWER EMBED -->
<script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars={};
flashvars.galleryURL = "gallery-bath.xml";
simpleviewer.ready(function () {
simpleviewer.load('sv-container', '600px', '600px', 'FFFFFF', true, flashvars);
});
</script>
<div id="sv-container"></div>
<!--END SIMPLEVIEWER EMBED -->
Steven Speirs
SimpleViewer Support Team.

Re: Cannot Parse Gallery XML error

That fixed it - you rock.  Thanks!