Topic: gallery.xml not found

OK, have lost HOURS!!  sad  of my life, have finally managed to get the viewer on my page. BUT, it is really big, takes up most of my screen, ( I have a 23" and most people don't) ; and instead of photos, displays "gallery.xml not found".
I am working in really old Dreamweaver 4. This is my code:
<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
simpleviewer.ready(function () {
simpleviewer.load("sv-container", "100%", "100%", "330000", true);
});
</script>
<div id="sv-container"></div>
<!-- END SIMPLEVIEWER EMBED -->
I have pasted it in a cell.
the gallery folder has an index.html and the gallery.xml in it, so not sure why it won't find it..
My foto page htm is not in the same folder, but that shouldn't matter. Please help!  big_smile

Also the other buttons etc. on my page are not showing, the simpleviewer has dominated and taken over!
am very confused.
have posted it at www.tschlodge.com, go click on the written Photos link at the top of the page, this is the only way to see it. thanks!!!!

Last edited by Sallyee (2012-05-25 17:37:03)

Re: gallery.xml not found

BUT, it is really big, takes up most of my screen

Rather than using dimensions of 100% x 100%, set your gallery's dimensions using absolute pixel values, e.g.:

simpleviewer.load("sv-container", "800", "600", "330000", true);

The gallery is embedded on the page: http://tschurtschenthalerlodge.com/Foto%20page.htm
.. and, by default, SimpleViewer will be looking for an XML file named 'gallery.xml' in the same folder as the HTML file into which the gallery is embedded. However, http://tschurtschenthalerlodge.com/gallery.xml does not exist.
If your entire gallery folder is http://tschurtschenthalerlodge.com/Gallery%20Folder/ and your 'gallery.xml' file is located there, then use the baseURL option to point to your gallery folder. Your embedding code would become:

<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="Gallery Folder/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars={};
flashvars.baseURL="Gallery Folder/";
simpleviewer.ready(function () {
simpleviewer.load("sv-container", "800", "600", "330000", true, flashvars);
});
</script>
<div id="sv-container"></div>
<!-- END SIMPLEVIEWER EMBED -->
Steven Speirs
SimpleViewer Support Team.

Re: gallery.xml not found

Thank you, thank you, thank you!!
So appreciative that you and others like you are out there.
Thanks so very much!
smile  smile  smile  smile  smile  smile  big_smile !!
Sallyee