1 (edited by lonejacobsen 2011-06-02 11:29:29)

Topic: embed i cms

Hello - I have been using Simpleviewer for a while, using the iframe to embed simpleviewer on cms pages - this workes fine.
But would like to use the embed instead, as I want to serve a different version for mobile by editing the gallery.xml directly on the page. However: I cannot get the embed to work - http://www.jeslinedance.dk/galleri.htm

I will have a lot of galleries and want to have a common svcore folder - right now it is in the root folder.
The javascript is found (seen in firebug) and the gallery works fine on the direct url.
It seems the baseURL does not work...
Any suggestions to what the problem might be?

<script type='text/javascript' src='http://www.jeslinedance.dk/svcore/js/simpleviewer.js'></script>
<script type="text/javascript">
var flashvars = {};
flashvars.galleryURL = "http://www.jeslinedance.dk/uploads/imag … allery.xml";
flashvars.baseURL = "http://www.jeslinedance.dk/uploads/imag … opvisning/";
simpleviewer.ready(function () {
simpleviewer.load("sv-container", "800px", "800px", "222222", true, flashvars);
<div id="sv-container"></div>

Regards, Lone

Re: embed i cms

I notice that you are using SimpleViewer Pro v2.1.1.
Please upgrade to v2.1.3 and see if this helps.  Several bugs have been fixed between these versions.
See here for details on how to upgrade: http://simpleviewer.net/simpleviewer/pr … grade.html

Steven Speirs
SimpleViewer Support Team