Topic: Run simpleviewer without .xml

I don’t know if this is possible... I need to run simpleviewer without having to load an gallery.xml file...
For example instead of:

<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.galleryURL = "gallery.xml";
var params = {};
params.wmode = "transparent";
…

I need to:

$array = array(<image 1>,<image 2>,<image 3>,<image 4>,<imgage 5>);

<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.galleryURL = "<?php print_r($array); ?>";
var params = {};
params.wmode = "transparent";
…

Have anyone tried something similar?

Thanks in advance and sorry my English.

Re: Run simpleviewer without .xml

As far as I am aware, this is not possible.
All pro options can be set via flashvars (rather than as attributes to the opening <simpleviewergallery> tag in the XML file) but the images to be displayed in the gallery must be listed in an XML file.
Please see the 'FlashVar Options' section of the 'SimpleViewer-Pro Config Options' page for details: http://simpleviewer.net/simpleviewer/pr … .html#html
To avoid listing images in an XML file, you could use Flickr as the source of images and use the useFlickr and flickrUserName (or flickrUserId) options as flashvars in your embedding code.

Steven Speirs
SimpleViewer Support Team.