NOT sure how it points to path for the gallery actually...
If you use the regular embedding code generated by JuiceboxBuilder or the Juicebox Plugin for Lightroom, then Juicebox assumes that the gallery's configuration file will be named 'config.xml' and will be located in the same directory as the web page containing the embedding code.
You could, if you wanted to, rename or move your gallery's configuration file and then point towards it in the embedding code using the configUrl option, e.g.:
<!--START JUICEBOX EMBED-->
<script src="jbcore/juicebox.js"></script>
<script>
new juicebox({
containerId: "juicebox-container",
galleryWidth: "100%",
galleryHeight: "100%",
backgroundColor: "#222222",
configUrl: "folder/custom.xml"
});
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->Alternatively, you could rename or move your entire gallery folder and point towards it in the embedding code using the baseUrl option, e.g.:
<!--START JUICEBOX EMBED-->
<script src="jbcore/juicebox.js"></script>
<script>
new juicebox({
containerId: "juicebox-container",
galleryWidth: "100%",
galleryHeight: "100%",
backgroundColor: "#222222",
baseUrl: "folder/gallery_folder/"
});
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->The configUrl and baseUrl paths can be relative (to the web page containing the embedding code) or absolute (starting with http:// or https://).
The configUrl and baseUrl options are listed in the Embed Options section of the Config Options page.
Instructions for using a baseUrl can be found here: Using an External Gallery Folder.