Topic: Cannot parse gallery XML

Hello, I am receiving the message : Cannot Parse Gallery XML
I have been looking for the answer, but can't find a solution yet.
I am a first time user and have gone through the manual.

I want to use the viewer in this page:
http://www.megamedia.nl/b2b-fotografie-pm-56.html
This scipt I have pasted in HMTL on this page:

<!--START SIMPLEVIEWER EMBED.--><script type=\"text/javascript\" src=\"http://www.megamedia.nl/images/galleryphoto/svcore/js/simpleviewer.js\"></script><script type=\"text/javascript\">
simpleviewer.ready(function () {
simpleviewer.load(\"sv-container\", \"100%\", \"100%\", \"222222\", true);
});
</script>
<div id="\&quot;sv-container\&quot;">
    &nbsp;</div>
<!-- END SIMPLEVIEWER EMBED -->

It doesn't work.

I have also tried the FlashVAR, but this doesn't solve the problem either.
This is what I have used:

<!--START SIMPLEVIEWER EMBED.--><script type=\"text/javascript\" src=\"http://www.megamedia.nl/images/galleryphoto/svcore/js/simpleviewer.js\"></script><script type=\"text/javascript\">
var flashvars={};
        flashvars.baseURL="/galleryphoto/";
simpleviewer.ready(function () {
simpleviewer.load(\"sv-container\", \"100%\", \"100%\", \"222222\", true, flashvars);
});
</script>
<div id="\&quot;sv-container\&quot;">
    &nbsp;</div>
<!-- END SIMPLEVIEWER EMBED -->


I am running my shop through a shopprovider, with access to the images folder.
galleryphoto is "my gallery" folder, where I have put the published folders
I have edited the xml to get the path straight (I hope):

eg. one line from the XML:
imageURL="http://www.megamedia.nl/images/galleryphoto/images/MEGAMedia_01.jpg"
    thumbURL="http://www.megamedia.nl/images/galleryphoto/thumbs/MEGAMedia_01.jpg"
    linkURL="http://www.megamedia.nl/images/galleryphoto/images/MEGAMedia_01.jpg"
    linkTarget="_blank">
    <caption><![CDATA[Evenementenreportage]]></caption>
  </image>

I hope It can be solved soon
Thanks in advance
Paul

Re: Cannot parse gallery XML

Hello, I am receiving the message : Cannot Parse Gallery XML

On line 154 of the file http://www.megamedia.nl/images/galleryphoto/gallery.xml
... there is a carriage return and line feed between:

<![CDATA

... and:

[Bedrijfsreportage]]>

Remove this line break and change:

    <caption><![CDATA
    [Bedrijfsreportage]]></caption>

... to:

    <caption><![CDATA[Bedrijfsreportage]]></caption>
Steven Speirs
SimpleViewer Support Team.

Re: Cannot parse gallery XML

Thanks Steve for your quick reply.
I have changed this.
Is there anything else I should do to make it work?

Best
Paul

Re: Cannot parse gallery XML

Your 'gallery.xml' file has two opening <simpleviewergallery> tags.
Change line 1 from:

<?xml version="1.0" encoding="UTF-8"?><simpleviewergallery maxImageWidth="772" maxImageHeight="579">

... to:

<?xml version="1.0" encoding="UTF-8"?>
Steven Speirs
SimpleViewer Support Team.

Re: Cannot parse gallery XML

Thanks Steven, you're Great!
It's working! (happy)

Can you give me a tip on how to reduce the space above and below the viewer?
(Sort of cropping)

Re: Cannot parse gallery XML

Hello Steve,
In the XML the backgroundcolor is set to "FFFFFF"
but the screen keeps showing it on black.
Also after replacing the XML with a new one.
What can be the solution? Thanks

Re: Cannot parse gallery XML

Can you give me a tip on how to reduce the space above and below the viewer?

Please see the 'Layout Troubleshooting' section of the 'SimpleViewer-Pro Layout Guide' for suggestions: http://www.simpleviewer.net/simpleviewe … ml#trouble

In the XML the backgroundcolor is set to "FFFFFF"

The gallery's background color should be set in the embedding code rather than the XML file.
On your http://www.megamedia.nl/b2b-fotografie-pm-56.html page, change:

simpleviewer.load("sv-container", "41%", "68%", "222222", true, flashvars);

... to:

simpleviewer.load("sv-container", "41%", "68%", "ffffff", true, flashvars);

Please see the 'Embed Code Parameters' section of the 'SimpleViewer Embedding Guide' for details: http://simpleviewer.net/simpleviewer/su … tml#params

Steven Speirs
SimpleViewer Support Team.