Topic: 4 galleries in one site, but load inconsistently requiring refresh

Hi,

I've created 4 galleries each in their own directory with a gallery home page with links out to each gallery.

The problem is that one gallery might load OK, then visiting another gallery loses the roll-over for the thumbnails and sometimes displays the file description on the thumbs page for the first image.

Refreshing the page seems to clear the issue

http://ianmccarthy.co.uk/IansGallery.html

thanks
Andrew

Re: 4 galleries in one site, but load inconsistently requiring refresh

It looks like a combination of certain configuration options might be causing the rollover thumbnails issue.
Try changing the imageTransitionTime in your galleries to see if this makes a difference.

Re: 4 galleries in one site, but load inconsistently requiring refresh

Thanks, I tried altering it to .9, then 1.2 and finally 1.4 and it still has the same issue but takes longer to manifest. So it did help but not fix.

What other options can you suggest I try?

Re: 4 galleries in one site, but load inconsistently requiring refresh

At first, I thought the problem may have been caused by a timing issue.
However, on further investigation, I have tracked down two bugs which are causing the problems you are experiencing.
The problem with the caption showing stems from setting screenMode="SMALL" and having the cursor hover over the thumbnails as the gallery displays (which happens regularly in your scenario as the links to your galleries are in the same position in your web page as the thumbnails in your galleries).
The problem with the thumbnails not being responsive stems from the additional setting maxCaptionHeight="700".
I have logged bug reports and hopefully they will be fixed in the next version of Juicebox-Pro.
In the meantime, the only sure solution would be to not set screenMode="SMALL".

Re: 4 galleries in one site, but load inconsistently requiring refresh

Thanks

I have also found a temporary solution losing the cache by adding:

<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">

within the head of each gallery index html page

I look forward the next version

Re: 4 galleries in one site, but load inconsistently requiring refresh

If you want to prevent browsers from caching your gallery's XML file, try defining your gallery's XML file with a unique identifier (e.g. the current time which will be different each time the browser loads the page) using the configUrl option in your gallery's embedding code.

<!--START JUICEBOX EMBED-->
<script src="jbcore/juicebox.js"></script>
<script>
    new juicebox({
        containerId : 'juicebox-container',
        configUrl : 'config.xml?nocache=' + new Date().getTime()
    });
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->

Re: 4 galleries in one site, but load inconsistently requiring refresh

The bugs noted above have now been fixed in v1.3.0. 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.