Topic: cannot upload XML file


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


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:

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

For reference, the SimpleViewer Pro Options can be found here: … tions.html
... and the SimpleViewer Embedding Guide can be found here: … 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 … enagh.html

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


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