This problem seems to be isolated to Safari on a Mac.
I have viewed your galleries in Safari 5.1.7, Chrome 31, Firefox 26.0, IE11 and Opera 18 on a PC and all galleries I have tried expanding work fine in all browsers.

First of all, try clearing your browser's cache before reloading your web page to ensure that your browser is fetching and using the most recent files from your web server.

If this does not help, then try setting expandInNewPage="TRUE" in your gallery configuration options.
Please see here for more details about the expandInNewPage configuration option.

You could also try changing useFullscreenExpand from 'TRUE' to 'FALSE' to see if this makes a difference.
I realise that you may not want to change the value of this configuration option permanently but it may help to troubleshoot the problem.

In order to solve the issues you are experiencing, perhaps you will need to delay the loading of the Juicebox galleries on the page until the gallery's parent containers are visible.
As you previously mentioned:

It seems that we would have to use sort of callback from infinite scroll plugin to run your stuffs when the jetpack plugin is displaying new posts.

If you could somehow hook into the Infinite Scroll plugin and run a custom JavaScript function when the appropriate containers are displayed on screen, you could either reassign dimensions to the gallery (using JavaScript and CSS) or use the Juicebox-Pro Pro API method showGallery() to try to force the gallery to be displayed. Please note that the Juicebox-Pro Pro API is available to Juicebox-Pro only (and not to Juicebox-Lite).

Even if the september gallery (page 3) seems OK within the post when scrolling down from top, it shows the november one when expanding. Same behavior with Chrome and Firefox (in fact, only iPhones and iPad are working fine).

Just for the record, I do not see this when viewing your web page for myself. Expanding the September gallery displays the September gallery (not the November gallery) in both Chrome and Firefox.

With iDevices, when one of the new loaded post contains a gallery, it will send us to the top of the blog, while loading it.

Juicebox itself does not fire a page refresh when a gallery is loaded so I am not sure what might be causing this.
Does this happen in Chrome on your iDevice(s) or just in Mobile Safari?
I notice that the code on your webpage does not validate correctly. Perhaps fixing the HTML errors on your web page will make a difference.
Try running your web page's URL through the W3C Markup Validation Service and fix the errors reported.
Even if this does not help, we can then eliminate HTML errors as a possible cause of the issues you are experiencing.

4,128

(2 replies, posted in Juicebox-Pro Support)

With Juicebox, you could create many individual galleries (each with as many images as you like) but you would need to link them all together manually (possibly by following the Multiple Galleries instructions and examples here).

An alternative solution might be to use another one of our products: Showkase.
Showkase is a PHP web application (although it does not require or use a database) which allows you to create multiple galleries online in a browser interface and automatically have them listed and linked together on gallery index pages.
Demo sites can be found here and a sample gallery index page can be found here.

If you do not want to use PHP on your site at all, then Showkase would not be a suitable solution and you would need to assemble your site (incorporating multiple Juicebox galleries) manually on your computer and then upload it to your web server via FTP.

Another possible solution would be to use the Juicebox skin for jAlbum.
You would be able to drag and drop a complete folder structure into jAlbum's main window. A Juicebox gallery would be created for each folder/subfolder in your input structure and all the galleries will be linked together by a JavaScript navigation tree. A sample gallery with two folders can be found here.
The complete album would be created on your computer and you would then upload the files to your web server. (There is no PHP or database involved in this process.)

If you were using Juicebox-Pro, you could set expandInNewPage="TRUE" which would force the gallery to expand in a new page (instead of expanding it in the page into which it is embedded). This should avoid the problem of returning to the same point in your infinite scroll page. Please see here for more details.
Unfortunately, expandInNewPage is a Pro option only and is not available to Juicebox-Lite (the free version).

only my iPad is working fine

This is because, in Juicebox-Lite, expandInNewPage is set to AUTO and on iOS devices, expanded galleries are opened in a new page by default. (Please see the link above for details.)

Your gallery's height is currently expressed as a percentage.
This will be a percentage of the gallery's parent container but, when the page is first loaded, the gallery's parent container is not visible and Juicebox may see its height as being 0px. 60% x 0px = 0px which may explain why the gallery is not displayed.

Instead, try expressing your gallery's height as a fixed pixel value (e.g. 600px) to see if this makes a difference.

If this does not help, then try also adding the gallery's height as inline CSS to the gallery container div, ie.:

<div id="juicebox-container" style="height: 600px;"></div>

... similar to the 'Using Percentage Heights' suggestion here.

Also, as you have multiple galleries which may be displayed on the same page, make sure you embed each gallery into a container with a unique id.

For example:

<script type="text/javascript" src="http://www.monpetitblog.net/galerie/2013_11_juice/jbcore/juicebox.js">

<script type="text/javascript">
new juicebox({
baseUrl : 'http://www.monpetitblog.net/galerie/path_to_gallery/',
containerId : "juicebox-container1",
galleryTitle: "Sept.'13",
galleryWidth: "100%",
galleryHeight: "600",
});
</script>
<div id="juicebox-container1" style="height: 600px;"></div>

<script type="text/javascript">
new juicebox({
baseUrl : 'http://www.monpetitblog.net/galerie/path_to_another_gallery/',
containerId : "juicebox-container2",
galleryTitle: "Sept.'13",
galleryWidth: "100%",
galleryHeight: "600",
});
</script>
<div id="juicebox-container2" style="height: 600px;"></div>

Incidentally, as you have WP-Juicebox activated, the 'juicebox.js' JavaScript file will be automatically loaded on your pages so there is no need to include the file in each and every gallery you manually embed.
(If you were to deactivate WP-Juicebox, you would need to include the file in each gallery's embedding code.)

4,131

(1 replies, posted in Juicebox-Pro Support)

Two ways to reduce the gap between the main image and the thumbnails would be to either:

(1) Set imageHAlign to CENTER or RIGHT (rather than LEFT)

... or:

(2) Set imageScaleMode="FILL" which will fill the entire image area with the main image (though if the gallery's image area does not have exactly the same aspect ration as the main image being displayed, then the main image will be cropped).

4,132

(8 replies, posted in Juicebox-Pro Support)

As you note, your logo is currently part of your gallery's background (set via the backgroundUrl configuration option).
Instead, you could use either the Back Button or the Gallery Title as an image link.

In JuiceboxBuilder-Pro, you could enter the following into either the Gallery Title field (in the 'Customize -> Lite' section) or the Back Button Text field (in the 'Customize -> Back Button' section).

<a href="http://www.smallbusinessphoto.com"><img src="images/Logo-Dark.png" width="265" height="60" alt="logo" /></a>

For a link in the Gallery Title to be active, please set galleryTitlePosition="TOP" (in the 'Customize -> General' section).
The link will not be active if galleryTitlePosition="OVERLAY". (This bug will be fixed in the next version of Juicebox-Pro.)

If editing your gallery's XML file to add the configuration options manually, you will need to escape the XML entities as documented in this FAQ:
How do I add HTML formatting to the Gallery Title or Back Button?

JuiceboxBuilder is unable to directly convert a SimpleViewer gallery created by Porta as Porta uses an older version of SimpleViewer (v1.9) before SimpleViewer was rewritten from scratch for v2.0.
Also, the galleries created by Porta use non-standard names for image folders and non-standard tag names within the XML file.

The only way I have been able to convert a SimpleViewer gallery created by Porta is a 3-step process.
(1) Open up the 'gallery.xml' file and replace all instances of <name> to <filename> and all instances of </name> to </filename> (so that svBuilder recognises the tag names).
(2) Open and save the gallery using svBuilder (to update the gallery from v1.9 to v2.3.1).
(3) Open and save the gallery using JuiceboxBuilder.

If you have a text editor such as Notepad++, you can open all your 'gallery.xml' files at the same time and change the names of all the <name> and </name> tags in two global search and replace actions (one for each tag).
Then, it should not take long to quickly open and save the galleries first using svBuilder and then JuiceboxBuilder.

4,134

(15 replies, posted in Juicebox-Pro Support)

This issue has now been addressed and will be included in the next version of Juicebox.
There is no set release date for the next version of Juicebox-Pro but if you would like to be notified of new releases, please subscribe to our newsletter at the foot of our homepage or follow us on Twitter @JuiceboxGallery.

For anyone reading this thread, please note that this does not affect the functionality of the gallery and the code being referred to can be seen only by using developer tools in a browser (it cannot be seen by viewing the source of the web page).

4,135

(3 replies, posted in Juicebox-Lite Support)

I know HTML but not a lot of terminology.

Take a look at the Juicebox Common Terms which may help.

Where are these files?

Inside the gallery folder.

  • Create a new folder on your desktop. (This will become the gallery folder.)

  • Create a gallery with JuiceboxBuilder-Pro and on the 'Publish' tab, navigate towards the new folder you created using the 'Browse...' button.

  • Click 'Save' to save your gallery.

When you open the folder, you will see the gallery files (and subfolders).

For reference, the JuiceboxBuilder User Guide can be found here and the Embedding Guide can be found here.

4,136

(3 replies, posted in Juicebox-Lite Support)

Have you uploaded all your gallery files (the 'jbcore', 'images' and 'thumbs' folders and the 'config.xml' file) to the same directory on your web server as the web page containing the gallery's embedding code (Step #2 in the embedding instructions here)? It looks like the gallery files may not yet have been uploaded (or at least not into the correct location).

Just upload the contents of your gallery folder to your root directory (alongside your 'bullshad2013.html' page) and your gallery should display OK.

If you just want to display your gallery on a page of its own, you can upload the entire gallery folder (as created by JuiceboxBuilder) and open the gallery's own 'index.html' file in a browser.

If you want to a create link to your gallery from another web page, just link to this 'index.html' page.

4,137

(7 replies, posted in Juicebox-Lite Support)

HTML fixed and Juicebox updated to 1.3.3, but the problem persists.

Thank you for fixing the HTML errors on your web page and for upgrading your Juicebox galleries.
At least we can eliminate them from being contributing factors.

So far noticed only in Win7 and Win8 using latest Chrome "31.0.1650.63 m", appears to work in other browsers.

The problem does seem to be specific to browsers which use the WebKit engine (Chrome and Opera) though I do not see the problem in Safari (although Safari has not been updated for Windows in a long time and does not use an up-to-date version of WebKit).

I have been able to replicate the issue in a test scenario and can confirm that it is not related to Flickr and happens only in Chrome and Opera. I have logged a bug report with the developers and it should hopefully be fixed in the next version of Juicebox.

Unfortunately, I do not know of a workaround at the moment.

4,138

(15 replies, posted in Juicebox-Pro Support)

Where exactly are you looking for 'alt tags'?

Are you referring to 'alt' attributes within the <img> tags (visible only within a browser's developer tools and not visible via the 'view page source' option) generated dynamically when Juicebox displays the gallery?
If so, then, as I mentioned previously, 'alt' attributes are included only in the SEO code (in the gallery's 'index.html' page) and not in the code generated dynamically (by the 'juicebox.js' JavaScript file) when Juicebox displays the gallery.

(This will be addressed for the next version of Juicebox and 'alt' attributes will be added to the dynamically generated code as well as the SEO code in the gallery's 'index.html' page.)

You can edit the 'Open Image in New Window' text (the rollover tooltip text used for the Open Image button on the Button Bar) by using the lanaguageList configuration option.
Please see here for details.

For example, you could use the following:

languageList="Show Thumbnails|Hide Thumbnails|Expand Gallery|Close Gallery|Click here to open image in its own Flickr page|Next Image|Previous Image|Play Audio|Pause Audio|Show Information|Hide Information|Start AutoPlay|Stop AutoPlay|AutoPlay ON|AutoPlay OFF|Go Back|Buy this Image|Share on Facebook|Share on Twitter|Share on Google+|Share on Pinterest|Share on Tumblr|of""

4,140

(3 replies, posted in Juicebox-Pro Support)

If that only works though on the main image once the gallery is opened then it's not quite what I am looking for.

The solution above will work when clicking on a main image in a gallery (whether AutoPlay is on or off and whether or not the gallery is expanded).
I hope this clarifies things (and is something like what you are trying to achieve).

Alternatively, if you want to turn an element on a web page into a link, then you could try using the jQuery .on() 'click' function to redirect the browser to a specific web page (using window.location.href) when the element is clicked.

4,141

(1 replies, posted in Juicebox-Pro Support)

Most of a gallery's configuration settings are stored in the XML file (named 'config.xml' by default).
If you change only a few settings, then this is likely to be the only file that you will need to re-upload.

If you add new images to a gallery, then you will need to upload the new images (in the 'images' and 'thumbs' folders), too.

Certain options (such as the gallery's background color) are set in the gallery's embedding code (rather than the XML file), so you will need to re-upload the gallery's 'index.html' file if you change the background color.

Depending on the FTP program you use, you may be able to set it so that it uploads only new or modified files.
In doing so, you can tell the program to upload the complete gallery folder (rather than manually selecting files from within it) but only new and modified files will actually be uploaded to your web server.

If you are in any doubt as to whether or not the old files on your web server are being overwritten, try deleting them first before uploading the new or modified files in their place.

After uploading, try clearing your browser's cache before reloading your gallery to ensure that your browser fetches and uses the most recent gallery files from your web server. (Refreshing the page may not be enough.)

4,142

(15 replies, posted in Juicebox-Pro Support)

We are using a CMS to grab images, title, description and then passing that info to juicebox.

When you pass information to Juicebox, you would do so using the format of a standard gallery XML file.

What I need to do in my code is to set the caption to the description I'm getting from the CMS

A caption would be set within <caption></caption> tags in the XML file.
A complete image entry would look something like this:

<image imageURL="images/image.jpg" thumbURL="thumbs/thumb.jpg" linkURL="images/image.jpg" linkTarget="_blank">
    <title>Title goes here.</title>
    <caption>Caption goes here.</caption>
</image>

, pass everything to juicebox and then have it output an alt tag for the image with that description/caption.

The only img tags that Juicebox outputs are 'behind the scenes' and visible only by a browser's developer tools. It is not possible to change their content as they are generated by the 'juicebox.js' file which is obfuscated and cannot be modified.

I do not understand exactly what you are trying to do. Perhaps you could show me a working example?
You seem to be gathering gallery data dynamically and creating an XML file on-the-fly (rather than using a static XML file) but you have no control over the HTML code that is output when Juicebox parses the XML file and displays the gallery.

4,143

(3 replies, posted in Juicebox-Pro Support)

If you set imageClickMode="OPEN_URL" (in JuiceboxBuilder-Pro's 'Customize -> Main Image' section), then when users click on a main image in the gallery, they will be taken to the corresponding linkURL (in the gallery's 'config.xml' file) which will be opened in a tab or window specified by the linkTarget.
linkURLs and linkTargets can be entered for each image on JuiceboxBuilder-Pro's 'Images' tab.

4,144

(1 replies, posted in Juicebox-Pro Support)

All the gallery files must be on the same domain or subdomain as the JavaScript embedding code due to the same-origin policy.
Please see this web page for more information.

The only way to do what you want would be to load your gallery into an iframe on hanging-mobiles.com.
If you upload your complete gallery folder to mid20th.com, then the gallery would actually be embedded into the 'index.html' page on mid20th.com and you could then load the 'index.html' into an iframe on a web page on any other domain or subdomain.

Please note that there are limitations to loading a gallery into an iframe. See Option #2 ('Using an iframe') here for more details.

4,145

(15 replies, posted in Juicebox-Pro Support)

The 'Add SEO Content' checkbox has no bearing on the code generated dynamically by the 'juicebox.js' file when the gallery is displayed. Alt attributes are not included in the img tags in this code.

What property does the js look for to set the caption?

Captions are displayed in a gallery as long as the captionPosition configuration option is not set to NONE (and as long as captions have been entered for the images).

4,146

(7 replies, posted in Juicebox-Lite Support)

Juicebox does not have built-in support for Picasa Web Albums.
If you would like to display a Picasa Web Album as a Juicebox gallery, you could adapt the SimpleViewer for Picasa Web Albums script from this web page.

Essentially you would use a PHP script to dynamically create the XML data on-the-fly as the gallery is being displayed.
You would point towards this PHP script using the configURL configuration option in your gallery's embedding code.

For example, use the following code in a file named 'config.php' (changing the Picasa Username and Web Album Name as required) and use configURL: 'config.php' in your gallery's embedding code.

<?php

// Simpleviewer for Picasa Web ALbums
// get all the details on www.paulvanroekel.nl/picasawebalbums/


    $userid = 'picasateam';
    $album = 'VegasWeekend';
    
    
    // build feed URL
     $feedURL = "http://picasaweb.google.com/data/feed/api/user/$userid/album/$album?imgmax=912";
     // $feedURL = "http://picasaweb.google.com/data/feed/api/user/$userid?kind=photo";


    // read feed into SimpleXML object
    $sxml = simplexml_load_file($feedURL);
    
    // customize your gallery
    echo "<juiceboxgallery galleryTitle=\"$album\" >\n"; 


    // iterate over entries in album
    // print each entry's title, size, dimensions, tags, and thumbnail image
    foreach ($sxml->entry as $entry) {
      $title = $entry->title;
      $summary = $entry->summary;
      
      $gphoto = $entry->children('http://schemas.google.com/photos/2007');
      $size = $gphoto->size;
      $height = $gphoto->height;
      $width = $gphoto->width;
      
      $media = $entry->children('http://search.yahoo.com/mrss/');
      $thumbnail = $media->group->thumbnail[1];
      $content = $media->group->content;
      $tags = $media->group->keywords;
  
          


        echo "<image imageURL=\"";
        // url van photo
        echo $content->attributes()->{'url'};
        echo "\" thumbURL=\"";
        // url van thumb
        echo $thumbnail->attributes()->{'url'};
        echo "\">";
        echo "<title>";
        echo $title ;
        echo "</title>";
        echo "<caption>";
        echo $summary ;
        echo "</caption>";
        echo "</image>";
        echo "\n";

   
        }
        

    echo "</juiceboxgallery>";

?>

4,147

(15 replies, posted in Juicebox-Pro Support)

The code that you posted is part of the code generated by Juicebox dynamically when the gallery is displayed.
(It is generated by the 'juicebox.js' JavaScript file.)

The code that you posted is not the SEO code which is produced when selecting the 'Add SEO Content' checkbox.
The SEO code can be found by opening the gallery's 'index.html' file in a plain text editor. It will look something like this:

<noscript>
<!-- Image gallery content for non-javascript devices -->
<h1>Gallery Title</h1>
<p>Gallery Description</p>

<p><img src="images/IMG_0678.JPG" title="title #1" alt="caption #1"/><br>title #1 caption #1</p>
<p><img src="images/IMG_0712.JPG" title="title #2" alt="caption #2"/><br>title #2 caption #2</p>
<p><img src="images/IMG_0992.JPG" title="title #3" alt="caption #3"/><br>title #3 caption #3</p>
</noscript>

The img tags in the SEO code contain alt attributes populated by the image captions.

4,148

(7 replies, posted in Juicebox-Lite Support)

But the same code works well for other browsers including  fetching the images from Flickr's servers. that looks confusing...

The problem is certainly strange and I do not know the exact cause.
However, as I mentioned above, if the code on your web page validates correctly and your gallery uses the most recent version of Juicebox, then we can at least rule out HTML errors and previous Juicebox bugs as possible causes.

Meantime, does a picture size  make a difference for this issue?

This should not make a difference. Large images will take longer to load but they should not cause a gallery to not display. The preloader (spinner logo) should be visible whilst an image is loading.

Can I place the galleries on Picasa to see if it makes a difference?

You could certainly try. (The more information we have, the better.)
I suggested using local galleries rather than Flickr in order to try to determine whether Flickr was a contributing factor in the problem.

4,149

(15 replies, posted in Juicebox-Pro Support)

When selecting 'Add SEO Content' in JuiceboxBuidler-Pro's 'Customize -> Sharing' section, alt attributes are included in the SEO code's img tags (in the gallery's 'index.html' page) and they are populated by the image captions. Make sure that your image captions (on the 'Images' tab) are not empty.

4,150

(7 replies, posted in Juicebox-Lite Support)

Try checking your web page's code with the W3C Markup Validation service and fix any HTML errors reported.

Also, try upgrading your galleries to the latest version of Juicebox (v1.3.3).
Instructions on how to get the latest version and how to uphgrade existing galleries can be found on the Upgrading Juicebox support page.

The above suggestions may or may not help but if any HTML errors are fixed and your galleries use the current version of Juicebox, then we can eliminate these factors from the problem.

The problem may be related to the browser timing out whilst fetching the images from Flickr's servers. As a test, you could try loading local galleries (with images stored on your web server and listed in the gallery XML files) to see if this makes a difference.