Topic: gallery works offline but not online [SOLVED]

I've have several galleries in this new version of our site and they all work except for this one:

http://www.ptkmanila.com/newsite/ptklat … r2014.html

I can't figure out why the gallery works offline but not online. This is the only gallery on the site with this problem.

Thanks!

Re: gallery works offline but not online [SOLVED]

It looks like the paths in your embedding code (the path to the 'juicebox.js' file and the baseUrl) are incorrect.
According to your embedding code, your gallery folder should be http://www.ptkmanila.com/newsite/latviagallery/ but your gallery files do not appear to be in there.
Also, according to your <script> tag, your 'juicebox.js' file should be located here: http://www.ptkmanila.com/newsite/latvia … uicebox.js
... but it does not seem to be here.

If you name your gallery folder 'latviagallery' and upload the entire folder (not just the contents) to your 'newsite' directory, then you can use the following embedding code:

<!--START JUICEBOX EMBED-->
<script src="latviagallery/jbcore/juicebox.js"></script>
<script>
    new juicebox({
        baseUrl: 'latviagallery/',
        containerId: 'juicebox-container',
        galleryWidth: '100%',
        galleryHeight: '100%',
        backgroundColor: 'rgba(255,255,255,1)'
    });
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->

Re: gallery works offline but not online [SOLVED]

Thanks!!!