Topic: Embed gallery hosted on one domain in another domain

I Have 2 web sites, www.rioestates.com and www.malagaestates.com. All the image galleries are hosted on rioestates.com.
With the embed code I can view the gallery on www.malagaestates.com from a web browser, but on the iPhone I get the xml gallery not found. I have simple viewer pro 220. I have upgraded from the older pro version so that the images show on iPhone etc..

This is the code running on www.malagaestates.com

<div id="simpleviewer"><!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="http://www.rioestates.com/html/galleries/<?php echo $row_Recordset1['RefNo']; ?>/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.baseURL = "http://www.rioestates.com/html/galleries/<?php echo $row_Recordset1['RefNo']; ?>/";
simpleviewer.ready(function () {
simpleviewer.load("sv-container", "100%", "100%", "ffffff", true, flashvars);
});
</script>
<div id="sv-container"></div>
<!-- END SIMPLEVIEWER EMBED --></div></div>

Many Thanks for your help.
Simon Chapman

Re: Embed gallery hosted on one domain in another domain

The easiest solution would be to duplicate the gallery folders on both domains to avoid cross domain issues.
Otherwise, you could perhaps load the working galleries from one domain into <iframe>s on the other.

Steven Speirs
SimpleViewer Support Team.

Re: Embed gallery hosted on one domain in another domain

Many Thanks,
Simon