Topic: how can I link images from several galleries in several sites [SOLVED]

I have several sites, each one has its own gallery of images.
I want to share the same images which are located only in one site with other sites located in the same shared server.
So, I will not have to duplicate the same images on each site.

I only can see the images on the gallery which is on the same site of the images: for example www.images.com
On the other sites (for example www.othersites.com; www.othersite2.com) I only can see the thumbs.


.php file

<!--START SIMPLEVIEWER EMBED -->
    <script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
    <script type="text/javascript">
    var flashvarscertificadoenergetico = {};
    flashvarscertificadoenergetico.galleryURL = "galleryURL = "gallerycertificadoenergetico.xml";
    simpleviewer.ready(function () {
    simpleviewer.load('sv-containercertificadoenergetico', '800', '450', 'transparent', true, flashvarscertificadoenergetico);
    });
    </script>
    <div id="sv-containercertificadoenergetico" style="margin: 0 auto;"></div>
    <!--END SIMPLEVIEWER EMBED -->
   

.xml file
   
<?xml version="1.0" encoding="UTF-8"?>

<simpleviewergallery

    maxImageWidth="640"
    maxImageHeight="640"
    imageQuality="80"
    thumbWidth="75"
    thumbHeight="75"
    thumbQuality="90"
    useFlickr="false"
    resizeOnImport="true"
    cropToFit="false"
    frameWidth="0"
    thumbRows="3"
    thumbColumns="3"
    galleryWidth="800"
    galleryHeight="450"
    indexPageName="prueba1.php"

>

  <image imageURL="http://www.images.com/images2/images/sit001.jpg"
    thumbURL="http://www.images.com/images2/thumbs/sit001.jpg"
    linkURL="#"
    linkTarget="_self">
    <caption><![CDATA[]]>The text of the picture</caption>
  </image>


</simpleviewergallery>

Last edited by certain (2014-02-26 11:21:34)

Re: how can I link images from several galleries in several sites [SOLVED]

Please see this FAQ:
When loading images from a different domain, the images don't load or I see a 'Security Sandbox Violation' error. How do I fix this?

Steven Speirs
SimpleViewer Support Team.

Re: how can I link images from several galleries in several sites [SOLVED]

Thank you very much! It works!
lol  big_smile