3,151

(5 replies, posted in Juicebox-Pro Support)

The Lightroom plugin v1.2 came bundled with Juicebox v1.2.0 so, if you upgraded the plugin to Juicebox-Pro around that time period, then the version of Juicebox that your gallery is using is almost certainly the cause of your problem.
You can determine the version of Juicebox that a gallery uses by opening the gallery's 'jbcore/juicebox.js' file in a plain text editor and checking the version number in the comments at the top.
You can do likewise with the plugin's 'juicebox.js' file ('juicebox.lrwebengine/jbcore/juicebox.js') to determine what version the plugin is currently using.

As you will likely need to upgrade the plugin's core Juicebox files, you might like to take this opportunity to upgrade the plugin, too.
(1) Download the latest version of the plugin (v1.4.2.0) from here.
(2) Download the latest version of Juicebox-Pro (v1.4.2) using the link from your purchase email (see here for details).
(3) Upgrade the Lightroom plugin following the 'Upgrading to Juicebox-Pro' instructions on the plugin's support page.

If you want to upgrade an existing gallery to the latest version of Juicebox-Pro, then either recreate the gallery with the upgraded version of the Lightroom plugin or replace the 'jbcore' folder in the existing gallery folder with the 'jbcore' folder from the Juicebox-Pro v1.4.2 download zip package ('juicebox_pro_1.4.2/web/jbcore/').

3,152

(5 replies, posted in Juicebox-Pro Support)

Please make sure that you are using the latest version of Juicebox-Pro (v1.4.2).
The problem you reported was an issue in v1.3.0 but was fixed in v1.3.1 (released 29 April 2013). Please see the Version History for a full list of changes between versions.
Instructions for upgrading Juicebox-Pro can be found here.

I have just double-checked that v1.4.2 works fine alongside the code you posted (whether jQuery is loaded before or after the 'juicebox.js' file).

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

3,153

(1 replies, posted in Juicebox-Pro Support)

I would recommend following the baseUrl method of embedding as documented here.
Essentially, you would upload the complete gallery folder (not just the contents) to your web server and enter the baseUrl embedding code into your web page wherever you would like the gallery to appear. It does not matter where on your web server you upload your gallery folder to as long as the two paths within the embedding code (the path to the 'juicebox.js' file and the baseUrl itself, pointing towards the gallery folder) are correct.

Keeping the gallery files within the gallery folder should help keep things organized on your web server and also makes life easier if you want to update the gallery in the future (as you would just have to replace the complete gallery folder on your web server).

Please ensure that you enter the baseUrl embedding code into your web page as HTML code rather than just plain text.
Chapter 7 in this web page may help with this.

3,154

(9 replies, posted in Juicebox-Pro Support)

The embedding code on your findanevent.php web page is currently missing the baseUrl entry.
Change:

<script src="currentgalleries/jbcore/juicebox.js"></script>
<script>
new juicebox({
containerId: "juicebox-container",
galleryWidth: "300px",
galleryHeight: "550px",
backgroundColor: "rgba(128,0,0,1)"
});
</script>

... to:

<script src="currentgalleries/jbcore/juicebox.js"></script>
<script>
    new juicebox({
        baseUrl: "currentgalleries/",
        containerId: "juicebox-container",
        galleryWidth: "300px",
        galleryHeight: "550px",
        backgroundColor: "rgba(128,0,0,1)"
    });
</script>

3,155

(8 replies, posted in Juicebox-Pro Support)

Do you have a link to a gallery which still displays the flickering so that we can take another look (now knowing what we know about the server-side caching issue)?
The link in your earlier post does not seem to work any more.

Also, do you see the problem (in your Safari browser) in this demo gallery which uses imageTransitionType="CROSS_FADE" and displays navigation buttons?

Thanks for your help.

3,156

(9 replies, posted in Juicebox-Pro Support)

One the individual pix are not opening into a lightbox

In a Juicebox gallery, images do not open in a lightbox. When you click a thumbnail in a gallery, the main image in the gallery changes to display the selected image.
You can expand the gallery so that it fills the browser window by clicking the Expand Button on the gallery's Button Bar.
Hover over the gallery and the Button Bar will appear. Hover over the Button Bar icons and the Expand Button is the one with the text 'Expand Gallery'.

two under the word back on the top is the title of the slider - its covering the word back.

Your gallery currently sets galleryTitlePosition="TOP" and backButtonPosition="TOP" and there is not enough width in your narrow gallery to horizontally align the Gallery Title and Back Button so that they do not overlap. The easiest solution would be to change the position of either the Gallery Title or the Back Button, e.g.:

galleryTitlePosition="OVERLAY"
backButtonPosition="TOP"

For reference, a full list of configuration options can be found here.
You could either edit your gallery with JuiceboxBuilder-Pro (if you still have a copy of the gallery on your hard drive) and re-upload the gallery files to your web server or just edit your gallery's XML file manually and change the configuration options as necessary.
Just open your 'currentgalleries/config.xml' file in a plain text editor and edit the configuration options (the attributes to the opening <juiceboxgallery> tag) as required.
Other solutions would be to increase the width of your gallery or to reduce the size of your Gallery Title text and then to horizontally align either the Gallery Title or the Back Button to the right (e.g. backButtonHAlign="RIGHT").

In the next version of Juicebox, thumbnails within a gallery will still all be the same size as each other (they do not need to be square) but the images used to fill the thumbnail dimensions will be scaled-to-fill. This is certainly an improvement over the current behavior (which center-crops images) and allows for images which are nowhere near the thumbWidth and thumbHeight dimensions to be used as thumbnails, although it is not what you are looking for.

Please feel free to post suggestions for future versions in the Feature Requests thread. This keeps all the ideas together and ensures that they are not overlooked by the developers.
Thank you.

3,158

(8 replies, posted in Juicebox-Pro Support)

On further investigation, the problem may be related to server-side caching.
If caching is disabled on your web server, then Juicebox will have to download the images every time it needs them (as it will not be able to fetch them from a cache) and this may be causing the problem.

If you have an Apache web server and have a .htaccess file with an entry such as the following (to disable caching), then please try removing it to see if it helps.

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

This may solve the problem.

3,159

(27 replies, posted in Juicebox-Pro Support)

On further investigation, the problem may be related to server-side caching.
If caching is disabled on your web server, then Juicebox will have to download the images every time it needs them (as it will not be able to request them from a cache) and this may be causing the problem.

If you have an Apache web server and have a .htaccess file with an entry such as the following (to disable caching), then please try removing it to see if it helps.

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

This may solve the problem.

This issue has been addressed and in the next version of Juicebox, thumbnail images will be scaled-to-fill the thumbWidth and thumbHeight dimensions (rather than being centre-cropped which currently happens).
If the aspect ratio of the thumbnail image does not exactly match the thumbWidth x thumbHeight aspect ratio, then there may still be a small amount of cropping (but only at the top and bottom or left and right, not in all dimensions).
If the thumbnails were scaled-to-fit (with no cropping at all) then there may be odd/uneven spaces between thumbnails (as thumbnails will still be the same size as each other with the same amount of padding between each one).

This now means that a user could potentially use a single folder of images as both the main images and thumbnails in a gallery (although I would still recommend using a dedicated, smaller set of thumbnails).

3,161

(9 replies, posted in Juicebox-Pro Support)

The reason for the gallery not displaying currently is as follows.
The embedding code on your https://www.countyfairgrounds.net/findanevent/findanevent.php web page uses the following code:

<script src="jbcore/juicebox.js"></script>

Therefore, the 'juicebox.js' file should be located at https://www.countyfairgrounds.net/findanevent/jbcore/juicebox.js but going directly to that location in a browser results in an error 404 (file not found).
The 'juicebox.js' file is not where it should be on your web server (according to your embedding code).

As you have uploaded a complete gallery folder to https://www.countyfairgrounds.net/findanevent/currentgalleries/, you can point towards this gallery folder using a baseUrl.
Change your embedding code (on your findanevent.php page) to the following and your gallery should display.

<!--START JUICEBOX EMBED-->
<script src="currentgalleries/jbcore/juicebox.js"></script>
<script>
    new juicebox({
        baseUrl: "currentgalleries/",
        containerId: "juicebox-container",
        galleryWidth: "300px",
        galleryHeight: "550px",
        backgroundColor: "rgba(128,0,0,1)"
    });
</script>
<div id="juicebox-container">
    *** KEEP YOUR GALLERY'S SEO CONTENT CODE HERE ***
</div>
<!--END JUICEBOX EMBED-->

Alternatively, you could keep your gallery's embedding code exactly as it is and copy the contents of the currentgalleries directory into the findanevent directory.
Either solution should work fine.

I would recommend keeping your gallery in the currentgalleries folder and using the baseUrl code (as above).
Keeping the gallery files together in a separate folder should help to keep things organized on your web server.

A couple of other notes:

(not a great name I know but it my first attempt at this)

There is absolutely nothing wrong with naming your gallery folder currentgalleries. This is just as valid as calling it anything else and it will not affect the functionality of your web site. In fact, you have named your gallery folder well, sticking to web-safe alphanumeric characters. (Using other 'reserved' characters in a web server directory name can sometimes cause problems.)

FIRST its got to work and then I need help in getting past my https

The fact that your web site is https:// should not make a difference to the embedding or functionality of a Juicebox gallery.

I hope the information above helps.

3,162

(9 replies, posted in Juicebox-Pro Support)

Your current embedding code requires that the contents of your gallery folder be copied into the same directory as teh web page containing the embedding code. The gallery files do not seem to be there.
Have you perhaps uploaded a complete gallery folder to somewhere on your web server?
If so, then you could use the baseUrl method of embedding as documented here.
Otherwise, copy the contents of your gallery folder to your 'findanevent' directory and your gallery should display OK.

If you continue to experience difficulties, then please let me know where on your web server you have uploaded your gallery to and I will let you know what your embedding code should look like.

JB as an slider; images 'fall' outside div

I have viewed your gallery in Firefox 34.0, Chrome 39.0, Opera 26.0, IE11 and Safari 5.1.7 on my PC (and have clicked the 'Info' and 'Welkom' links several times in each browser) and do not see the problem you are reporting.
Try clearing your browser's cache to ensure that your browser is fetching and using the most recent versions of your files from your web server.
Also, I notice that your gallery's dimensions are 100% x 100% and that your gallery's parent container's dimensions are fixed pixel values. This should be fine but try changing your gallery's dimensions to match those of its parent container to see if this makes a difference.

'cross_fade' don't work

The imageTransitionType configuration option works only in Mouse Input Mode (as noted on the Config Options page). In Touch Input Mode, imageTransitionType uses the default value of SLIDE which best matches the swipe gesture used to navigate between images. This cannot be changed.

3,164

(27 replies, posted in Juicebox-Pro Support)

Thank you very much for the additional information.
I have been able to replicate the issue and see the problem in test galleries of my own.
It seems to affect all WebKit based browsers (Chrome, Opera and Safari) but seems to happen only when galleries are hosted on certain web servers (with imageTransitionType="FADE" or "CROSS_FADE").
I have now notified the developers who will investigate further and hopefully find a solution to the problem.

3,165

(27 replies, posted in Juicebox-Pro Support)

Even if the problem is only with a certain browser, we would still very much like to track the problem down.

If you have the time, I would be grateful if you could please confirm whether or not you see the problem in my test gallery (which is a gallery straight out of JuiceboxBuilder-Pro but using the same configuration options that your own test gallery uses).

The fact that you do not see the problem in any of our demo galleries suggests that the problem is either with a certain combination of configuration options or with custom code on your own web page. If you do see the problem in my test gallery, then the configuration options used in the gallery may be the cause (and I can then log a bug with the developers if necessary).

Thank you.

3,166

(496 replies, posted in Juicebox-Pro Support)

@gfs

Thank you for your suggestion.

The following solution is not as elegant as your suggestion would be but you might like to give it a try and adapt it to suit your own needs.
You could use the Juicebox-Pro API and JavaScript to allow the user to change the displayTime (via custom HTML 'minus' and 'plus' buttons on your web page) and then reload the gallery (via a further HTML 'go' button) using the new display time (and passing the current image via firstImageIndex to that the gallery does not start at the beginning each time the gallery is reloaded with a new display time).

To see this in action, create a sample gallery in JuiceboxBuilder-Pro and use the following code as the gallery's 'index.html' file.

<!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">
            // Initialize variables
            var dt = 5;
            var dtcurrent = dt;
            var jb;
            var increment = 1;
            var minimum = 1;
            var maximum = 10;
            // Function to load gallery when 'Go' button is clicked
            // First parameter is displayTime
            // Second parameter is firstImageIndex
            function loadGallery(dt, fii) {
                jb = new juicebox({
                    autoPlayOnLoad: "TRUE",
                    backgroundColor: "ffffff",
                    containerId: "juicebox-container",
                    displayTime: dt,
                    enableAutoPlay: "TRUE",
                    enableLooping: "TRUE",
                    firstImageIndex: fii,
                    galleryHeight: "400",
                    galleryWidth: "600",
                    showAutoPlayButton: "TRUE",
                    showImageOverlay: "ALWAYS"
                });
            }
            // Run following when Document Object Model is complete
            $(document).ready(function() {
                // Run following when 'minus' button is clicked
                $('#minus').click(function() {
                    // Reduce display time and ensure it does not go below minimum value
                    dt = Math.max(dt - increment, minimum);
                    // Display display time on screen
                    $('#display').text(dt);
                });
                // Run following when 'plus' button is clicked
                $('#plus').click(function() {
                    // Increase display time and ensure it does not go above maximum value
                    dt = Math.min(dt + increment, maximum);
                    // Display display time on screen
                    $('#display').text(dt);
                });
                // Run following when 'go' button is clicked
                $('#go').click(function() {
                    // Only reload gallery if display time has changed
                    if (dt !== dtcurrent) {
                        // Set current display time
                        dtcurrent = dt;
                        // Load gallery
                        loadGallery(dt, jb.getImageIndex());
                    }
                });
                // Display display time on screen
                $('#display').text(dt);
                // Load gallery
                loadGallery(dt, 1);
            });
        </script>
        <title>Test</title>
    </head>
    <body>
        <div id="input">
            <span>Display Time</span><input id="minus" type="button" value="-" /><span id="display"></span><input id="plus" type="button" value="+" /><input id="go" type="button" value="Go" />
        </div>
        <div id="juicebox-container"></div>
    </body>
</html>

Thank you for sharing your findings.
I will pass this information on to the developers.

3,168

(1 replies, posted in Juicebox-Pro Support)

First of all, please try re-uploading your gallery's 'jbcore' folder to your web server to ensure that all core Juicebox files are present and correct (in case something happened during the initial upload resulting in corrupt or missing files).

Also, the problem may be due to a conflict between the CSS code for the gallery and some custom CSS code on your web page.
If you have any generalized custom CSS code on your web page (which, for example, might apply certain CSS rules to all <div> or <img> tags on the web page), try applying your CSS code to only those elements on your web page which require these rules through use of CSS selectors (ids or classes).
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.

You may also need to delay the loading of the gallery until the tab containing the gallery is clicked (when the gallery's parent container will be visible on screen).
If you load the gallery as soon as the page loads, then the container that the gallery is embedded into will not yet be visible on screen (it will be visible only after the tab has been clicked) and it will essentially have no dimensions associated with it. This will affect the sizing of the gallery.
The solution would be to wrap your gallery's embedding code in a JavaScript function and run the function when the tab is clicked (using a click handler on the tab/link).

The shareUrl is used only by JuiceboxBuilder-Pro to set the absolute paths for the Open Graph meta tags in the gallery's 'index.html' page.
The shareUrl should be set to the directory which contains the page with the gallery's embedding code.
If you are embedding a gallery in a web page of your own (and not using the 'index.html' page generated by JuiceboxBuilder-Pro), then the shareUrl will not be used.
Just be sure to use absolute paths if you manually include any Open Graph tags in your web page.
With regard to Twitter sharing, the text and URL sent to Twitter are automatically determined by Juicebox-Pro (without using the actual shareUrl within JuiceboxBuilder-Pro).

@pjl

As noted above, the bug has been fixed for the next version of Juicebox.
There is no set release date for the next version and I really do not know when it will be released. It may be days or weeks. Any estimate I give you could turn out to be wholly inaccurate.
However, we are working hard to get the next version ready.
All I can suggest is that you join the mailing list at the foot of our homepage, follow us on Twitter @JuiceboxGallery or subscribe to our blog RSS feed to be notified of new releases.
Thank you for your patience.

3,170

(5 replies, posted in Juicebox-Pro Support)

There is currently no htaccess file for the site.  Is that something that could fix the problem?

Yes. As long as you use an Apache web server, then create a .htaccess file in your web space's root directory with the code from the FAQ and this should solve your problem. If you use an IIS web server, then please see the link in the FAQ for details on how to set the Cache-Control header to 'no-transform'.

3,171

(27 replies, posted in Juicebox-Pro Support)

Juicebox generates valid HTML 5 code so if you are getting errors on your web page relating to Juicebox code, please try using the HTML 5 Doctype Declaration on your web page (and ensure that the other code on your web page is HTML 5 compliant).

<!DOCTYPE HTML>

I do not see the problem in any browsers on my PC.
Please take a look to see if the problem occurs in this test gallery. It uses the same configuration options that your own test gallery uses but the web page itself uses the HTML 5 DTD and is created by JuiceboxBuilder-Pro with no custom code on it.
If you still see the problem in this gallery, then it may be due to an incompatibility between certain configuration options and Safari 8 (perhaps imageTransitionType="CROSS_FADE" or imageTransitionTime="1.5"). Try using the default values of imageTransitionType="SLIDE" and imageTransitionTime="0.5" to see if this makes a difference.
Please let me know how you get on so that I can log a bug report with the developers if necessary. Thank you.

3,172

(4 replies, posted in Juicebox-Pro Support)

That's great!
Thank you for posting back to let me know.

3,173

(27 replies, posted in Juicebox-Pro Support)

@gfs

Can you confirm if possible, that this is NOT a Juicebox issue?

Do you see the problem with any of our demo galleries on this web page?
If so, then please let me know.
If not, then it is possible that your problem is unique to your own web page (and the code within it).

Using W3C validation service throws up a LOT of errors with my code ... most of which seem to be in Juicebox's embed code.

Juicebox generates valid HTML 5 code and your embedding code looks OK. The problem you are seeing probably originates from putting your embedding code inside <p> and <span> tags, some of which also seem to have no closing </p> tag. (Inline elements such as <p> and <span> tags not contain block elements such as <div> tags.)

I would start by fixing the errors on your web page. Once the code on your web page validates correctly, your web page should be rendered with greater predictability and consistency across different browsers.
Even if this does not solve your problem, we can at least then eliminate HTML errors from being the cause of your problem.

Most of the errors on your web page seem to be due to stray end tags and unclosed elements.
Unfortunately, not being familiar with your web page's layout and with your web page's code not being indented, it is hard (at a glance) to see where containers should be opened and closed.

Try not to be overwhelmed by the errors on your web page. (There are not actually that many but most of them seem to be related to the layout rather than syntax errors or typos.) Just go through them one by one. Each one you fix is a step closer to a valid web page. If you see an error such as "Stray end tag.", then it is possible that there may be no corresponding opening tag and the stray end tag can just be removed. If you see an error such as " Unclosed element.", then try to figure out what it is you want within the tag and that should lead you to where the closing tag should be.

I hope this helps.

3,174

(4 replies, posted in Juicebox-Pro Support)

First of all, please ensure that you are viewing your web site over a wi-fi connection and not 3G/4G.
If using 3G/4G, then please see this FAQ which offers a solution.
Why can't I view my gallery on a 3G mobile connection?

Also, your gallery uses the Juicebox-Pro v1.4.2 JavaScript file but the Juicebox v1.2.0 CSS file.
Try replacing your gallery's current 'jbcore' folder with a fresh version from your Juicebox-Pro download zip file ('juicebox_pro_1.4.2/web/jbcore/') to ensure that all files are from the same version of Juicebox-Pro.

3,175

(7 replies, posted in Juicebox-Lite Support)

That is correct. imageScaleMode is a Pro configuration option. I should have made that clear in my post above. Sorry for any confusion.
For reference, all Lite configuration options can be found here. (All configuration options on the Config Options page are supported by Juicebox-Pro.)