Topic: The expandButton messes pictures of several galeries

Hi,
I have a problem it seems I can't solve alone. I have two galeries on the same site in a small shape (about thumbnails) with the expand-button. Each of the buttons works fine and shows the images in greater dimensions as an overlay of the side. But when I have BOTH galeries active the galerie1 shows the pictures of galerie2 in the expanded mode (in the normal mode it works fine) and galerie2 shows the same behaviour with the pictures of galerie1. Additionally the expanded version appears alone on the screen - when only one galerie is present it appears as additional layer on the same site (as I want it) By the way the "expand in new page" option is on false, the "screen mode" is "large".

This is, what I did: I placed the two galeries in a joomla installation (Joomla 2.5.11) both galeries have pictures of the same size, but of different content - one galery shows pictures of a restaurant, the other from seminar rooms.
To avoid confusion I installed the galeries in two folders
slides/left_restaurant   and
slides/left_seminar
In Joomla I added (in two different joomla modules) the following embeding-code:

<!--START JUICEBOX EMBED-->
  <script src="slides/left_restaurant/jbcore/juicebox.js"></script>
<script>
new juicebox({
  baseUrl: "../../../slides/left_restaurant/",
  configUrl: "config1.xml",
containerId : "juicebox-container",
galleryWidth: "276",
galleryHeight: "247",
backgroundColor: "rgba(235,242,248,0.5)"
});
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->


and

<!--START JUICEBOX EMBED-->
  <script src="slides/left_seminar/jbcore/juicebox.js"></script>
<script>
new juicebox({
  baseUrl: "../../../slides/left_seminar/",
  configUrl: "config2.xml",
containerId : "left_sem",
galleryWidth: "276px",
galleryHeight: "257px",
backgroundColor: "rgba(235,242,248,1)"
});
</script>
<div id="left_sem"></div>
<!--END JUICEBOX EMBED-->

As you can see I used the baseUrl option to distinguish the two galeries, in the second galerie I renamed the juicebox-element from "juicebox-container" to "left_sem" and the "config.xml" to "config1.xml" respectively "config2.xml"
The code from the builder I left untouched with the exception of renaming the config.xml file.
The construction area can be viewed at the moment at http://www.vr4u.ch  (later it will be http://www.continental-bienne.ch )
I'd appreciate any help.

Re: The expandButton messes pictures of several galeries

An addition to my original problem: It seems that the behaviour is not allways crosswise. Sometimes there are the pictures of the second galerie shown in both galeries when expanding. It seems that it is random which element is loaded first (or last).

Re: The expandButton messes pictures of several galeries

But when I have BOTH galeries active the galerie1 shows the pictures of galerie2 in the expanded mode (in the normal mode it works fine) and galerie2 shows the same behaviour with the pictures of galerie1.

Unfortunately, this is due to a known bug. However, the bug has been addressed and will be fixed in the next version of Juicebox-Pro (although I do not know when it will be released).

Additionally the expanded version appears alone on the screen - when only one galerie is present it appears as additional layer on the same site (as I want it)

I'm not sure what you mean by this. It sounds like you might be wanting the gallery to appear in a lightbox-style popup.
If so, then make sure that you use the lightbox script's correct 'rel' attribute in the link to your gallery.

Re: The expandButton messes pictures of several galeries

Thank you for your answer. Even if it is not quite what I was wishing, I see clearer now.

Re: The expandButton messes pictures of several galeries

This bug has now been fixed in v1.3.2. Please see the Version History for a full list of changes and the Upgrading Juicebox page for details on how to get the latest version.