Topic: Config XML file not found

Hi @everyone,

I'm trying to embed a gallery "test" created in Lightroom 5 in my Joomla 2.5 Page using this code:

<!--START JUICEBOX EMBED-->
<script type="text/javascript" src="/images/Kundenfotos/test/jbcore/juicebox.js"></script>
<script type="text/javascript">// <![CDATA[
new juicebox({
containerId : "juicebox-container",
galleryWidth: "100%",
galleryHeight: "100%",
backgroundColor: "rgba(34,34,34,0)"
});
// ]]></script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->

When I open th site with the embeded Code I get the frame of the gallery with the error message "Config XML file not found". I also tried to use the absolute path instead (http://mydomain/xyz/images/Kundenfotos...), but had no luck.
After trying different things like deleting the "/" in front of "images" now i'm not even getting the gallery frame anymore, just a blank space. I would really appreciate if anybody could look at this and perhaps can give me any important hints.
Thx.

Re: Config XML file not found

If you have uploaded your complete gallery folder to your web server and its location is '/images/Kundenfotos/test/' (where the leading slash in the path denotes your root directory), then you should use a baseUrl within your embedding code to point towards the gallery folder (where Juiecbox will find the XML file).
Try the following:

<!--START JUICEBOX EMBED-->
<script type="text/javascript" src="/images/Kundenfotos/test/jbcore/juicebox.js"></script>
<script type="text/javascript">
    new juicebox({
        baseUrl: "/images/Kundenfotos/test/",
        containerId: "juicebox-container",
        galleryWidth: "100%",
        galleryHeight: "100%",
        backgroundColor: "rgba(34,34,34,0)"
    });
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->

For reference, the baseUrl method of embedding is documented here.