3,126

(11 replies, posted in Juicebox-Pro Support)

You could set showThumbsOnLoad="TRUE" and then use a JavaScript setTimeout() delay to hide the thumbnails (via the Juicebox-Pro API toggleThumbs() method).
For example:

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" id="jb-viewport" content="minimal-ui" />
        <style type="text/css">
            body {
                margin: 0px;
            }
        </style>
        <script type="text/javascript" src="jbcore/juicebox.js"></script>
        <script type="text/javascript">
            var jb = new juicebox({
                containerId: "juicebox-container",
                showThumbsButton: "TRUE",
                showThumbsOnLoad: "TRUE"
            });
            var thumbs = true;
            jb.onInitComplete = function() {
                if (jb.getScreenMode() === "LARGE") {
                    setTimeout(function() {
                        if (thumbs) {
                            jb.toggleThumbs();
                        }
                    }, 3000);
                }
            };
            jb.onShowThumbs = function(showing) {
                thumbs = showing;
            };
        </script>
        <title>Test</title>
    </head>
    <body>
        <div id="juicebox-container"></div>
    </body>
</html>

Using the code above, the thumbnails will toggle after 3 seconds (3000ms) but only in Large Screen Mode and only if the thumbnails are actually visible. If the user clicks the Thumbnail Button within the 3 second delay, the thumbnails will not be toggled (displayed) after the delay is over.

3,127

(27 replies, posted in Juicebox-Pro Support)

I was able to replicate symptoms similar to those described above (a flickering/double-loading effect) on an Apache server using the following line of code in an .htaccess file.

Header set Cache-Control "max-age=0, private, no-cache, no-store, must-revalidate"

As soon as the code above was removed from the .htaccess file, the flickering disappeared.
The flickering occurred only in browsers which use the WebKit engine (Chrome 39, Opera 26 and Safari 5.1.7 on PC) and not in other browsers (Firefox 34.0 and IE11).

3,128

(2 replies, posted in Juicebox-Lite Support)

Every Juicebox gallery must have its images listed in an XML file (unless sourced by a Flickr account). It is not possible to list the images in the HTML page containing the embedding code.

You could, however, use a PHP script instead of a static XML file to build the gallery's XML file on the web server at the time the gallery is viewed.
Please see this forum post which has an example of how to display all images within a designated directory.

Hopefully you can use this technique to solve your own problem.

3,129

(4 replies, posted in Juicebox-Pro Support)

No problem. I'm glad all is well.
Thank you for posting back to let me know.

3,130

(4 replies, posted in Juicebox-Pro Support)

At the moment, JuiceboxBuilder-Pro and Showkase-Pro are the only applications which have individual input fields for all Pro configuration options.

In the Juicebox plugin for Lightroom, Pro Options should be entered into the Pro Options text area, one per line, in the form optionName="optionValue". Please see Step #4 of the 'Upgrading to Juicebox-Pro' section on the plugin's support page here for details.
(Alternatively, you could manually edit the gallery's 'config.xml' file in a plain text editor after your gallery has been created and add Pro Options as attributes to the opening <juiceboxgallery> tag.)

We are currently working on a new Lightroom plugin which will feature all Pro configuration options in the interface (removing the need to type them into the 'Pro Options' text area). I do not know exactly when this will be released but it should hopefully coincide with the next release of Juicebox-Pro.

3,131

(2 replies, posted in Juicebox-Pro Support)

Yes. Juicebox allows each image to have a unique title and caption, both of which are displayed in the caption area within the gallery.
The position of the caption area is determined by the captionPosition configuration option.
Please see the description of captionPosition on the Config Options page for a list of possible values.
To have the caption area displayed below the main image in the gallery, you would set captionPosition="BELOW_IMAGE" (in JuiceboxBuilder-Pro's 'Customize -> Caption' section)

If you are creating a gallery with JuiceboxBuilder-Pro, then you can enter the image title and image caption on the 'Images' tab. Just click a thumbnail image to reveal its title and caption input fields.
Otherwise, you could manually add/edit titles and captions directly in your gallery's XML file in a text editor. If doing so, then you might find the Manually Creating a Gallery instructions useful.

A title and/or caption can be as long as you like (within reason) and you can make the text multi-line by using HTML line breaks (<br>). Please see this FAQ for more information about using HTML formatting within image titles and captions:
How do I add HTML formatting to image captions and titles?

If you have a long title/caption, then, depending on the captionPosition, you might need to increase the maxCaptionHeight (in JuiceboxBuilder-Pro's 'Customize -> Caption' section) in order for all the text to be visible.

I hope this helps.

3,132

(1 replies, posted in Juicebox-Lite Support)

If you are referring to the order of images from Flickr, then yes, this applies to both Juicebox-Lite and Juicebox-Pro.
Please see this FAQ for more information:
How do I change the order of images from Flickr?

3,133

(2 replies, posted in Juicebox-Pro Support)

The Drupal module's interface features only Lite Options.
Pro configuration options such as the Sharing Options can be entered in the 'Juicebox Library - Pro / Manual Config' section of your Drupal Dashboard ('Home -> Administration -> Structure -> Content types -> Article -> Manage Display -> Juicebox settings'). For example:

shareFacebook="TRUE"
shareTwitter="TRUE"

3,134

(496 replies, posted in Juicebox-Pro Support)

@gotty1

Thank you for your suggestions.
Here are some notes on a couple of your points (which may be more useful to other users reading your post than to yourself).

(3) If JavaScript is not enabled in the user's browser, then what will be displayed on screen in place of the gallery is the browser's rendering of the SEO Content Code (a list of all images in the gallery). You can choose to not include the SEO Content Code by deselecting the 'Add SEO Content' checkbox in JuiceboxBuilder-Pro's 'Customize -> Sharing' section.
Otherwise, you could replace the SEO Content Code with your own 'JavaScript is required.' warning message although this cannot be done on the 'Publish' tab (as you have noted) and must be done after you have pasted the embedding code into a web page.

(5) What you could maybe do is set showOpenButton="TRUE" (in JuiceboxBuilder-Pro's 'Customize -> Lite' section) to display the 'Open Image' button on the Button Bar. When the button is clicked, the image will be displayed in a new browser tab and can be downloaded via the browser's right-click 'Save Image As...' option.
It would be much easier to implement direct download functionality if all browsers supported the HTML 5 'download' attribute but this is not yet the case. Please see here for a list of browsers which currently support this feature.
If you would like to try this (though it will only work in the browsers listed in the link above), you could include a link within each image's caption using the 'download' attribute such as the following:

<caption><![CDATA[<a href="images/wide.jpeg" download="wide.jpg">Click here to download image.</a>]]></caption>

If entering the caption directly into JuiceboxBuilder-Pro (in a 'Caption' text field on the 'Images' tab), you would enter just the following:

<a href="images/wide.jpeg" download="wide.jpg">Click here to download image.</a>

JuiceboxBuilder-Pro will enclose the caption in the <caption> and CDATA tags automatically behind the scenes so there is no need to enter them into JuiceboxBuilder-Pro. (You would need to include them only if entering the caption manually by editing the 'config.xml' file in a plain text editor.)

The href="images/wide.jpeg" part is the path to the file which will be downloaded. You can use an absolute path (such as http://www.example.com/gallery/images/wide.jpeg) or a relative path (as in my example above). If using a relative path, it will be relative to the HTML page containing the gallery's embedding code.

The download="wide.jpeg" part is the name which will be given to the file when the user downloads it. (It does not have to be the same as the image's filename, although it should have the same file extension.)

The Click here to download image. part is the text that will be displayed on screen as the caption which, when clicked, will download the file.

Please remember that this will only work in certain browsers and visitors to your web site using browsers which do not support this HTML 5 attribute (such as Internet Explorer and Safari) may wonder why this feature in your gallery does not work as expected. (You may wish to add a note somewhere on your web page to say that direct download functionality is available only in Firefox, Chrome and Opera.)

I hope this helps.

3,135

(6 replies, posted in Juicebox-Pro Support)

I did attempt the remedy mentioned but I don't believe it worked, which is why rolled back to the 1.4 version of core.

If that is the case, then your problem is unlikely to have been connected to my initial suggestion and the problem could be due to a different Juicebox bug, a CSS conflict, an HTML error or be specific to a certain browser.

If you are able to replicate the problem in a gallery of your own and provide the URL (and a screenshot showing the problem), I would happily take a look and see if I can determine the cause of the problem.

Also, if you see the problem in any of our demo embedded (non 100% x 100%) galleries, please let me know.
http://www.juicebox.net/demos/lite/embedded/
http://www.juicebox.net/demos/pro/embedded/
http://www.juicebox.net/demos/pro/slider/
http://www.juicebox.net/demos/pro/splash/
http://www.juicebox.net/demos/pro/blog/
http://www.juicebox.net/demos/pro/top/

Thanks.

3,136

(3 replies, posted in Juicebox-Lite Support)

It looks like your problem may be due to a CSS conflict between some custom CSS code on your web page and the CSS code of the Juicebox gallery itself. Your web page may use some global CSS rules (which apply to all images on your web page including those in your Juicebox gallery) that the gallery has no option but to inherit. Unfortunately, it is not possible to isolate a Juicebox gallery (or any other element) on a web page to prevent it from inheriting global CSS rules.

Please check your CSS to see if you have any rules which are applied to all img tags within your web page's content section (which is where your Juicebox gallery is). It looks like you may have CSS rules which affect image attributes such as borders, margins/padding and possibly maximum-width.

Your web page loads 18 external CSS files so it might take a short while to search through them all but your browser's developer tools, usually accessible by pressing F12, should help. If you find any such rules, then please apply them to only those elements on your web page which require them through use of CSS selectors (ids and classes).

3,137

(6 replies, posted in Juicebox-Pro Support)

My previous post from yesterday (which I have since deleted to avoid confusion) referred in error to a different bug.
Sorry for the incorrect response and any inconvenience caused.

The bug which I originally referred to (whereby the value of the expandInNewPage configuration option could change the scale of the embedding page) should affect only iOS devices.
If expandInNewPage="FALSE" and an iOS device is detected, then Juicebox dynamically sets the following meta viewport tag which may change the scale of the page.

<meta id="jb-viewport" name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"/>

More information on expanding galleries on iOS can be found here.

This problem should not affect Android devices so the original problem you encountered could be due to something else.

Did my original suggestion of changing the value of expandInNewPage make a difference?
You did not initially post back or provide the URL to your gallery so it appeared that you may have found a solution or workaround for your problem.

If you could please answer the following questions, we might have a better idea of what could be causing your problem.

  • Do you see the problem in any of our own v1.4.2 demo galleries here?

  • Does the problem occur in just Chrome or also in the Android stock browser?

  • Does the problem occur in a 100% x 100% size gallery (where the gallery is the only element on the web page, filling the page) or only in a gallery embedded in a web page alongside other content?

Also, in case the problem is somehow related to invalid HTML code, you could try validating your web page with the W3C Markup Validation Service and fix any errors reported. Once the code on your web page validates correctly, your web page should be rendered with greater predictability and consistency across different browsers.

The problem may also be due to a CSS conflict. There may be some custom CSS code on your web page which the Juicebox gallery is inheriting and which is causing the layout of your gallery to change. If you have any global CSS rules (which might, for example, affect all <div> or <img> tags on your web page, including those within the Juicebox gallery), then try applying these CSS rules to only those elements on your web page which require them through use of CSS selectors.

In order to investigate your problem further, I would really need to see the problem for myself so, if possible, please
reproduce a gallery with the problem you originally reported and then post back with its URL (and upload a screenshot somewhere showing what you are seeing) so that I can take a look and hopefully help further.
Also, please let me know what device and version of Chrome you are using. (The more information we have, the better.)
Thank you.

3,138

(3 replies, posted in Juicebox-Pro Support)

If you see the actual embedding code in your web page rather than the gallery itself, then you may be inserting your gallery's code into your web page as plain text rather than as raw HTML code.
Please check the input mode in your editor.

If you continue to experience difficulties, then please post the URL to your gallery's web page so that I can take a look at your problem for myself and hopefully help further.

3,139

(1 replies, posted in Juicebox-Pro Support)

I'm embedding a Juicebox gallery into a page and have been having problems with it actually appearing on the page.

It sounds like you have already solved your problem but for any other users reading this post and experiencing similar symptoms (a blank area where the gallery should be), then this FAQ may help.
When I view my gallery, I see a blank area. Why?

Also, it is not possible to isolate a Juicebox gallery (or any other HTML element) from custom CSS on a web page so if you encounter a CSS conflict, please ensure that you do not use global CSS rules but instead apply CSS rules to only those elements on your web page which require them through use of CSS selectors (classes and ids).

3,140

(3 replies, posted in Juicebox-Pro Support)

Have placed an HTML code on the page and loaded the script that is generated into it and uploaded page, but when I view page on line nothing shows...

Please see this FAQ:
When I view my gallery, I see a blank area. Why?

And how do I do this: THAT IS TO UPLOAD gallery folder to your website

You can upload your gallery folder to your website using an FTP program such as Filezilla.
Please see the Filezilla Tutorial and Usage instructions.
If you have trouble uploading files and folders to your web space, your web host should be able to help you further.

Essentially, you will need to upload the gallery files to your web server and embed the gallery in a web page (following the embedding instructions here).

If you create a gallery with JuiceboxBuilder-Pro, then the gallery is already embedded in the 'index.html' file generated by the application so, at its most basic, you could upload the entire gallery folder to your web server and just open the 'index.html' file in your browser to view your gallery.

3,141

(3 replies, posted in Juicebox-Lite Support)

I tried the site on three iPhones with iOS 8 and there the site with the gallery is non-responsive, so you see the normal desktop version on the mobile phone.

First of all, please ensure that you are using the most recent version of Juicebox-Lite (v1.4.2) to ensure that any bugs which were present in previous versions but which have since been fixed are not contributing to your problem.
If necessary, you can download the current version of Juicebox-Lite from the download page here.

If your gallery sets screenMode="AUTO" (the default value for this configuration option), then your gallery should be displayed in Small Screen Mode on small screen devices (like the iPhone). (Please see here for more information on how Juicebox adapts to different devices and screen sizes.)
Do you see the problem in both Chrome and Mobile Safari on your iPhones or just in one of these browsers?
Are you able to upload screenshots somewhere of what you are seeing on iOS 7 vs iOS 8 so that I can see what you are seeing? (For example, I do not know if your gallery uses a Splash Page and whether or not this is displayed.)
Also, it may help if I could see the gallery in question so please post the URL to your gallery's web page so that I can investigate further. Thank you.

The ability to add SEO content code to a gallery's web page is a feature of JuiceboxBuilder-Pro only (the code is included in the 'index.html' file generated by the application) and it is not available in any of the plugins.

addSEOContent is not a configuration option which is used by the Juicebox when the gallery is displayed (like other configuration options found here).

Please also note that we did not write the Juicebox module for Drupal ourselves so if you would like to suggest this as a feature request, then I would recommend that you post in the Drupal forum where the author of the module will see your idea.

Alternatively, you could use JuiceboxBuilder-Pro to create a gallery with SEO content code and then embed the gallery into your web page manually following the instructions here.
(The embedding code provided by JuiceboxBuilder-Pro on the 'Publish' tab will contain the SEO content code as long as the 'Add SEO Content' checkbox is selected in the 'Customization -> Sharing' section.)

3,143

(1 replies, posted in Juicebox-Lite Support)

The handling of images is done entirely by WordPress itself and WP-Juicebox just displays the images in the order in which they are provided by WordPress (using WordPress's own 'menu_order').

The images should not be in a random order unless you set randomizeImages="TRUE" in your gallery.

If you edit a post containing a gallery, click the 'Add Media' button and go to 'Insert Media (side menu) -> Media Library (tab) -> Uploaded to this post (drop-down menu)', then the images should be displayed in the same order on screen here as they are in the gallery.
If this is not the case, then you should be able to drag and drop the thumbnails into a new order. If you just move a single thumbnail (and move it back to its original position), this should be enough to snap the images into order.

WP-Juicebox (since v1.3.3.1) includes a quick and easy way to reverse the order of images in a gallery (if they seem to be reversed for whatever reason). Just edit the gallery on the 'Manage Galleries' page and select 'Ascending' or 'Descending' as the 'Image Order' before clicking 'Save'.

I hope this helps.

If expandInNewPage="AUTO" (the default value, as used by Juicebox-Lite), then expanding in a new page is the default behavior on iOS devices. Please see the Expand Gallery Behavior support section for more information.

This sample gallery will always expand in a new page (on all devices and in all browsers) either when the Splash Page is clicked in Small Screen Mode or when the Expand Button is clicked in Large Screen Mode:
http://www.juicebox.net/demos/pro/embed … wPage=TRUE

3,145

(1 replies, posted in Juicebox-Lite Support)

Please see this FAQ:
Can Juicebox handle a custom data source, for example RSS or Instagram?

Essentially, if you do not use a static XML file, you would need to point Juicebox towards a server-side script (using a configUrl entry in the gallery's embedding code) which would dynamically build the gallery's XML file using the images from your custom source.
You can see the structure of a gallery's XML file (that your server-side script would need to replicate) by examining the sample 'config.xml' file from the Juicebox-Lite download zip package ('juicebox_lite_1.4.2/web/config.xml').

There is an example of using a PHP file to display images in a designated folder in this forum post.
It is not what you are looking to achieve but demonstrates that Juicebox is flexible enough to use a custom source of images.
As long as you can fetch the URLs of your images using a server-side language, you should be able to construct an XML file for use within a Juicebox gallery.

I hope this points you in the right direction.

Perhaps any other Sharepoint users reading this can help further and contribute with the code you might need to use.

It sounds like your problem may be due to a known bug whereby elements which have explicitly been assigned a CSS 'position' are not covered by the fullscreen gallery (they should be). This bug has already been addressed and will be fixed in the next version of Juicebox.
In the meantime, a workaround would be to set expandInNewPage="TRUE" so that, when the gallery is expanded, it will be displayed on a page of its own rather than on top of the embedding page. However, expandInNewPage is a Juicebox-Pro option which is not configurable in Juicebox-Lite (the free version).
An alternative workaround would be to set useFullscreenExpand="TRUE". When the gallery is expanded, it will cover the user's entire screen instead of just the browser window. Please note that this will work only in browsers which support the Fullscreen API. Please see this web page for a current list of such browsers.

When you select the 'Add SEO Content' checkbox, code in the following format is added to the Juicebox gallery container (the 'juicebox-container' div).

<!-- Image gallery content for non-javascript devices -->
<noscript>
<h1>GALLERY TITLE</h1>
<p>GALLERY DESCRIPTION</p>
<p><img src="images/IMG_1249.jpg" title="IMAGE #1 TITLE" alt="IMAGE #1 CAPTION" /><br>IMAGE #1 TITLE IMAGE #1 CAPTION</p>
<p><img src="images/IMG_1253.jpg" title="IMAGE #2 TITLE" alt="IMAGE #2 CAPTION" /><br>IMAGE #2 TITLE IMAGE #2 CAPTION</p>
</noscript>

As you can see for the sample code above, both alt and title attributes are included in the img tags.
However, the code is not rendered by the browser and displayed on screen (unless JavaScript is disabled) but is there to help with search engine optimization.
Please see the SEO support section for further details.

I hope this helps to explain this feature and what you are seeing.
If not, then please post back and explain in greater detail what you mean by "alt title not showing and image source show instead" so that I can hopefully help further.

3,148

(5 replies, posted in Juicebox-Pro Support)

As long as your galleries use the latest version of either the Juicebox-Lite or Juicebox-Pro 'jbcore' folder (v1.4.2), the JavaScript conflict should not occur.

3,149

(9 replies, posted in Juicebox-Pro Support)

When you create or edit a gallery with JuiceboxBuilder-Pro, the baseUrl is not used and you need to add it to your embedding code manually afterwards.
However, if you are just editing a gallery, then you just need to replace the updated gallery files (in the gallery folder) and there is no need to alter the embedding code at all.

3,150

(1 replies, posted in Juicebox-Pro Support)

The SLIDE transition works only for adjacent images when the main image navigation arrows are clicked/tapped (or when swiping on a touch device).
As you have discovered, images do not SLIDE when selected via thumbnails. There is no user control to change this.