Topic: renaming config.xml [SOLVED]

Hello,

in SimpleViewer or PostcardViewer it was possible to rename the config file by using the flashvars.galleryURL or xmlURL variables in the HTML page.

How can I achieve this in Juicebox. I would like the config.xml to be names jbconfig.xml.

Many thanks

Re: renaming config.xml [SOLVED]

You can rename your 'config.xml' file if you like and then use the configUrl configuration option in your gallery's embedding code to point towards it.
Please see the Embed Options here.
Sample embedding code might look something like this:

<!--START JUICEBOX EMBED-->
<script src="jbcore/juicebox.js"></script>
<script>
    new juicebox({
        configUrl: "jbconfig.xml",
        containerId: "juicebox-container",
        galleryWidth: "100%",
        galleryHeight: "100%",
        backgroundColor: "#222222"
    });
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->

Re: renaming config.xml [SOLVED]

Thank you Steven.

Sorry I missed that option.

Re: renaming config.xml [SOLVED]

No problem.
You're welcome!