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,152

(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,153

(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,155

(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,156

(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,157

(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,158

(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,159

(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,161

(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,162

(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,163

(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,164

(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,165

(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,166

(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,167

(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,168

(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,169

(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,170

(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,171

(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.

4,172

(1 replies, posted in Juicebox-Pro Support)

Thank you for reporting this. It should be fixed in the next version of Juicebox.
There is no set release date for the next version but if you would like to be notified when it is released, please sign up to our mailing list (at the foot of our home page) or follow us on Twitter @JuiceboxGallery.

4,173

(7 replies, posted in Juicebox-Pro Support)

Great!
Thank you for posting back to let me know.

4,174

(7 replies, posted in Juicebox-Pro Support)

The problem you encounter is likely to be caused by an incorrect path within your gallery's embedding code.

Please see this FAQ:
When I view my gallery I see the message 'Config XML file not found'. How do I fix this?

If the information contained within the FAQ does not help, then please post the URL to your gallery so that I can take a look and help further.
(I tried using the URL from within your screenshot but received an 'Access denied' message.)

that thingy with the seven icons in the upper right

That's the Button Bar.

would disappear if you moved the mouse to, say, the taskbar...

No. If showInfoButton="TRUE", the Button Bar is always visible (whether the user hovers over the gallery or mouses-out).

That's a long sentence, but does it make my comment any clearer?

Yes, thanks. The gallery is behaving as designed (though perhaps not as you expected).