Topic: "GALLERY NOT FOUND" when trying to embed simpleviewer.

Hello,

Not sure what I'm doing wrong but I am having a problem with the gallery path.

I've been trying to embed a sample gallery I created from Lightroom using TTG into my index.html page here is my code:

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>keswickallen.com</title>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.baseURL="photos/";
flashvars.galleryURL = "gallery.xml";
var params = {};
params.bgcolor = "222222";
params.allowfullscreen = true;
params.allowscriptaccess = "always";
swfobject.embedSWF("photos/viewer.swf", "flashContent", "800", "600", "9.0.124", false, flashvars, params);
</script> 

</head>

And in the body I have this:

<body>

<div id="flashContent">SimpleViewer requires JavaScript and the Flash Player.
<a href="http://www.adobe.com/go/getflashplayer/">Get Flash.</a></div> 

</body>

But when I look at the website simpleviewer is loading but it can't find the gallery.

Here is a link to my website: http://www.keswickallen.com
The gallery can be found here: http://www.keswickallen.com/photos/

Please help!

Re: "GALLERY NOT FOUND" when trying to embed simpleviewer.

the issue is the version of simpleviewer swf you are using is 1.8.5 and the embed code you are listing above is for SimpleViewer 2. You need to do one of two things.

Either download the latest version of SimpleViewer and update the embed code as follows.

<script type="text/javascript">
var flashvars = {};
flashvars.baseURL="photos/";
var params = {};
params.bgcolor = "222222";
params.allowfullscreen = true;
params.allowscriptaccess = "always";
swfobject.embedSWF("simpleviewer.swf", "flashContent", "800", "600", "9.0.124", false, flashvars, params);
</script> 

if you keep the version of simpleviewer that you are currently using change the embed code to:

<script type="text/javascript">
var flashvars = {};
flashvars.xmldatapath = "photos/gallery.xml";
var params = {};
params.allowscriptaccess = "always";
swfobject.embedSWF("photos/viewer.swf", "flashContent", "800", "600", "9.0.124", false, flashvars, params);
</script>
Mike Richards
SimpleViewer Support Team.