Topic: embeding problems

I am tryingto embed a SimpleViewer gallery inside an existing HTML page. also im using using svmanager to manage the gallery. I can not seem to get it right. Sometimes it will workbsometimes it won't. The page usually won't work in ie.

My website is devilmaycarepottery.com and the SC gallery is on the gallery page.

Can anyone please help.

Also the mobile version won't work. When it loaded all I see is a black page
I spent even see the pre-loader.

Last edited by logan.fleisher (2011-06-10 14:23:37)

Re: embeding problems

Use a baseURL to point to the gallery folder.  SimpleViewer will look for a 'gallery.xml' file in this folder and all relative links will be relative to this path. See here for details: http://simpleviewer.net/simpleviewer/pr … .html#html

Use the following embedding code:

<!--START SIMPLEVIEWER EMBED -->
<script type="text/javascript" src="http://www.devilmaycarepottery.com/svmanager/g1/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars={};
flashvars.baseURL="http://www.devilmaycarepottery.com/svmanager/g1/";
simpleviewer.ready(function () {
    simpleviewer.load('sv-container', '922', '422', '000000', true, flashvars);
});
</script>
<div id="sv-container"></div>
<!--END SIMPLEVIEWER EMBED -->
Steven Speirs
SimpleViewer Support Team.

Re: embeding problems

thank you that solves my problem, and i am not able to see the gallery cross-platformed except on a mobile device. when i try to view the website on an android powered phone i receive the message gallery not found. any ideas?

Re: embeding problems

You should be able to view your gallery on your mobile device if you go to www.devilmaycarepottery.com rather than devilmaycarepottery.com. They are considered different domains (www.devilmaycarspottery.com being a subdomain of devlimaycarepottery.com).
Try setting the path to the 'simpleviewer.js' file and the baseURL using relative paths:

<!--START SIMPLEVIEWER EMBED -->
<script type="text/javascript" src="svmanager/g1/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars={};
flashvars.baseURL="svmanager/g1/";
simpleviewer.ready(function () {
    simpleviewer.load('sv-container', '922', '422', '000000', true, flashvars);
});
</script>
<div id="sv-container"></div>
<!--END SIMPLEVIEWER EMBED -->
Steven Speirs
SimpleViewer Support Team.

Re: embeding problems

that worked perfectly, thanks.