Topic: cannot upload XML file

Hi,

My web hosing doesn't support xml file , Is there another way to create the gallery without xml file ?  sad

Thanks.

Re: cannot upload XML file

If your web host does not allow the uploading of XML files, then, if text files are allowed, you could try renaming the 'gallery.xml' file to 'gallery.txt' and using the following embedding code:

<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars={};
flashvars.galleryURL="gallery.txt";
simpleviewer.ready(function () {
simpleviewer.load("sv-container", "100%", "100%", "222222", true, flashvars);
});
</script>
<div id="sv-container"></div>
<!-- END SIMPLEVIEWER EMBED -->

For reference, the SimpleViewer Pro Options can be found here: http://simpleviewer.net/simpleviewer/pr … tions.html
... and the SimpleViewer Embedding Guide can be found here: http://simpleviewer.net/simpleviewer/su … dding.html
There are details on using flashvars on both these pages.

Steven Speirs
SimpleViewer Support Team.

Re: cannot upload XML file

Thank you very much for the solution but i have some problem as

1. the gallery background color is change when i use txt (actually i make the bg color same as html page).

here is my page could you check it for me

http://www.tinderbox.com.sg/cavenagh%20 … enagh.html

2. how do i make the whloe gallery area smaller.

Thanks

Re: cannot upload XML file

(1) To make the gallery's background color the same as your HTML page, change the backgroundColor Embed Code Parameter in your embedding code, ie. change:

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

... to:

simpleviewer.load("sv-container", "100%", "100%", "cccccc", true, flashvars);

(2) Change the dimensions (width and height) of the gallery's parent container.
It is currently inside this tag: <td width="632" valign="top"> so has a width of 632px.

Steven Speirs
SimpleViewer Support Team.