1 (edited by Forrest5000 2012-07-04 11:50:23)

Topic: creating multiple galleries in one folder

Hi all,
I've been using SV pro for the last couple of years and have purchase the upgrade Juice box Pro.
I need some assistance with migrating my work flow from SV to JB.

I use "Simpleviewer-config" to create the XML file and HTML for the gallery from each (sporting) event and the cut this up to make multiple galleries. These are then named 1,2, 3 etc and have a corresponding HTML file. which references them. All the images are in one folder called images and the thumbnails in the thumbs folder. see attached screenshot http://www.actionphotography.ie/posts/2 … image1.jpg
I then make a front page for each event which has links to these galleries (e.g. http://www.actionphotography.ie/events-HAR062012.html)

With Juice box I don't seem to be able to do this as it hide the name of the XML file and I seem to be stuck with index as the file name.

Anyone have a solution to this for me?
Thanks,
John

Re: creating multiple galleries in one folder

You can do the same as you currently do with SimpleViewer by using Juicebox's configUrl option to point to a specific XML file.
A description of the configUrl option can be found here.
The embedding code for your first gallery might look something like this:

<!--START JUICEBOX EMBED-->
<script src="./resources/jbcore/js/juicebox.js"></script>
<script>
new juicebox({
containerId : 'juicebox-container',
galleryWidth: '900',
galleryHeight: '900',
backgroundColor: '#222222',
configUrl : 'galleries/1-HAR2-12.xml'
});
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->

Re: creating multiple galleries in one folder

Steven wrote:

You can do the same as you currently do with SimpleViewer by using Juicebox's configUrl option to point to a specific XML file.
A description of the configUrl option can be found here.
The embedding code for your first gallery might look something like this:

<!--START JUICEBOX EMBED-->
<script src="./resources/jbcore/js/juicebox.js"></script>
<script>
new juicebox({
containerId : 'juicebox-container',
galleryWidth: '900',
galleryHeight: '900',
backgroundColor: '#222222',
configUrl : 'galleries/1-HAR2-12.xml'
});
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->

Thanks guys,
Still having a few issues but will work on them over the next day or so and see how it goes
John