2,576

(4 replies, posted in Juicebox-Pro Support)

I was not informed by a newsletter although I opted in for that...

We do not always send out a newsletter for each new release but we do announce new versions with a Tweet.
Follow us on Twitter and you'll be notified of new releases: https://twitter.com/juiceboxgallery
Otherwise, keep an eye on the Version History page which is updated when a new version is released.

I build my galleries using the Lightroom-PlugIn. I then upload and import them in my site using ShowKase.

If you have imported your galleries into Showkase, then you can upgrade all your Juicebox-Pro galleries at once by following the instructions here.

Somewhere I read I could replace the jbcore-folder in the gallery-folder. So, if I have 50 galleries, I should do that 50 times? Or is there an easier way to do the trick?

If you do not use Showkase and have multiple galleries on your web site, you can have all your galleries share a single 'jbcore' folder. You can then upgrade all your galleries at once by replacing this single instance of the 'jbcore' folder on your web server.
Please see here for details.

how do I upgrade ShowKase to the latest JuiceBoxPro?

Just follow the instructions here. After you have republished your site in Step #5, all Juicebox-Pro galleries within your Showkase site will be the version of Juicebox-Pro you upgraded to.

On the ShowKaseSite it says that ShowKase is upgraded to  JuiceBox1.4.3.2, which suggests it won't work with 1.4.4.1...

The current version of Showkase (v1.3.6) will work fine if you upgrade it to Juicebox-Pro v1.4.4.1.

Would it be possible to import galleries build with the 1.4.4.1-Lightroom-plugin?

You can certainly import Juicebox-Pro galleries created by the Lightroom plugin.
Please note that no matter what version of Juicebox-Pro the galleries are that you import, after importing, they will become the version that Showkase uses (so just upgrade Showkase to use Juicebox-Pro v1.4.4.1 and all the Juicebox-Pro galleries within your Showkase site will use this version).

2,577

(3 replies, posted in Juicebox-Pro Support)

The initial Gallery width is 1024px

I'm not sure what you mean by 'initial Gallery width'. If you set the gallery width to 1024px, then the gallery's width will always be 1024px. If you want the gallery's width to be responsive and fill the width of its parent container (even if its size changes, for example when the browser window is resized), then set the width to be 100% instead.

Does the text "Lite" in the right panel of Lightroom have any meaning, even if Juicebox Pro is chosen and is it reponsible for that.

The configuration options in the 'Lite' control panel correspond to the configuration options that are available to both Juicebox-Lite (the free version) and Juicebox-Pro. The 'Lite' options are listed here.

I installed the free Version and then the Pro.

That's fine. The Lite and Pro versions of the plugin can be installed and run side by side in the same version of Lightroom.

Also I see no possibility to generate multiple Sizes of the pictures

Unfortunately, the Lightroom plugin does not export multiple image sizes at once. The ability to generate a multi-size image gallery is a feature of JuiceboxBuilder-Pro only (although you could create a multi-size image gallery manually).

Is there now a possibility for not clipping the Thumbs?

All thumbnails in a gallery are the same size and if the aspect ratio of the source images does not match the thumbWidth x thumbHeight aspect ratio, cropping will occur. This cannot be changed.

2,578

(1 replies, posted in Juicebox-Pro Support)

Please post the URL to your main web page so that I can take a look at the problem (and the code that you are using) for myself.
If would be much easier to troubleshoot if I can see the problem live on your web server. (I'm really not sure what might be causing your problem but once I see your web page, I should hopefully have a better idea of what's going on.)
Thank you.

2,579

(10 replies, posted in Juicebox-Pro Support)

Many thanks, yet again!

You're welcome!

2,580

(3 replies, posted in Juicebox-Pro Support)

It looks like the problem may be that you are hard-coding your  main domain in the paths in the embedding code but that you are visiting your web site via your 'www' subdomain.

Please see this FAQ which holds the key to solving your problem:
My gallery works on 'www.example.com' but not on 'example.com' (or vice versa). Why?

Try using the following <script> section in your embedding code and your gallery should work on both your main domain and your 'www' subdomain.

<script src="/Product_Gallery/jbcore/juicebox.js"></script>
<script>
    new juicebox({
        containerId: "juicebox-container",
        baseUrl: "/Product_Gallery/",
        galleryWidth: "100%",
        galleryHeight: "100%",
        backgroundColor: "rgba(255,255,255,1)"
    });
</script>

(The leading slashes in the paths denote your root directory.)

2,581

(10 replies, posted in Juicebox-Pro Support)

@kilooloogung

As you are aware, your suggestion does not allow for zooming within the gallery itself (it uses a link in a caption to navigate away from the gallery and towards an external page loading the image and the Zoomify JavaScript library) but it certainly might be an acceptable solution for the original poster (or any other users reading this thread who want to include the ability to zoom into gallery images, although not necessarily inside the gallery) so thank you for sharing.

The only drawback is that the button won't stay on the same line as the Caption: it appears on the line below.

Try moving your opening <form> tag to before your "7,004 x 2,774 pixels" text:

<caption><![CDATA[<form>7,004 x 2,774 pixels<button type="submit" formaction='z/tyneglow8938.html' formmethod='post'>Zoom…</button></form>]]></caption>

You're welcome!
I'm glad you've got it working. Thank you for posting back to let me know.

Many thanks for posting your suggestions in the Feature Requests thread.

When I do that, the gallery doesn't show at all. What am I not getting?

When using relative paths, they should be relative to the page containing the gallery's embedding code so the paths you suggested should work fine:

<script src="galleries/american2/jbcore/juicebox.js"></script>
<script>
    new juicebox({
        containerId: "juicebox-container",
        baseUrl: "galleries/american2/",
        galleryWidth: "816",
        galleryHeight: "575",
        backgroundColor: "rgba(92,92,92,1)"
    });
</script>

You could also use a leading slash in your paths to denote that the paths start at the root directory so the following should also work fine:

<script src="/galleries/american2/jbcore/juicebox.js"></script>
<script>
    new juicebox({
        containerId: "juicebox-container",
        baseUrl: "/galleries/american2/",
        galleryWidth: "816",
        galleryHeight: "575",
        backgroundColor: "rgba(92,92,92,1)"
    });
</script>

Is this article saying that all the Juicebox gallery files should be in the root folder?

When using a baseUrl, it does not matter where on your web server you upload your gallery folder to (it does not need to be uploaded to the root directory) as long as the two paths in the embedding code (the path to the 'juicebox.js' file and the baseUrl itself, pointing towards the gallery folder) are correct. Your current web site structure is fine.

Please try either of the embedding code <script> sections above. Both should work fine.

Please see this FAQ which holds the key to solving your problem:
My gallery works on 'www.example.com' but not on 'example.com' (or vice versa). Why?

2,586

(1 replies, posted in Juicebox-Pro Support)

Please see this forum post regarding making galleries responsive.

Your gallery is already responsive. Its dimensions change when the browser window is made narrower and the gallery elements adjust correspondingly (for example, fewer thumbnails are displayed in a narrow browser window).

Please note that the gallery's height does not change when you change the width of the browser window.
It is not standard behavior for a div's height and width to both change when a browser window is resized in only one dimension.
If you want your gallery's aspect ratio to always remain constant, then you would have to implement a solution such as the one in this forum post.

I would like to ask you if there is a way to have the frame margin option, this way the frame doesn't touch the image.

This is not something that Juicebox was designed to do and I do not think that there is likely to be an easy solution. Even if you were to create the border effect you are looking for via CSS on the correct Juicebox class, it would increase the total size of the image slightly and Juicebox would not know about this. The size reserved for the image in the gallery would need to be increased and it may cause issues with the positioning of other gallery elements such as the caption area.

I appreciate you taking the time to post your ideas here but I would encourage you to post them in the Feature Requests forum thread. This is the best place for them to ensure that they are not overlooked by the developers. Thank you.

I also would like to know if there is a way to use a background image in a repeat mode instead of stretch/fill.

Perhaps the best way to achieve this would be to give your gallery a transparent background and set your repeating background image on the gallery container via CSS. (The gallery's own backgroundScale configuration option does not support 'repeat'.)

2,588

(1 replies, posted in Juicebox-Pro Support)

A Juicebox-Pro gallery uses the same set of configuration options for both Small Screen Mode (SSM) and Large Screen Mode (LSM). It is not possible to have two different sets of values and switch between them and it is not possible to change configuration option values once a gallery has been loaded. The gallery would need to be reloaded with new values.
Technically, you could load the gallery, check whether SSM or LSM is being used (via the Juicebox-Pro API getScreenMode() method) and then reload the gallery using a specifc XML file corresponding to the screen mode being used. However, this is not an ideal solution.

There are some configuration options which are specific to the different screen modes (e.g. showThumbsOnLoad is for LSM only whereas showSmallThumbsOnLoad is for SSM only) but other options such as buttonBarIconSize apply equally to both SSM and LSM.

If you want to configure Juicebox-Pro beyond what can be achieved with the available configuration options, you can certainly try modifying the 'jbcore/classic/theme.css' file. However, knowledge of CSS would be required and such modifications would not be officially supported. Also, you might find that you run into unforeseen problems as Juicebox will not know of any modifications made to this file and if any changes that you make alter the size or position of any gallery elements, there may be unwanted knock-on effects with regard to the gallery layout.

Here are a few other notes which may help.

For example rounding image corners with using a a border (frame) will generate a borderless yet rounded image in small-screen mode.

Unfortunately, the frameWidth configuration option is LSM only.

Another question I would like to have button size at 20 px while in large-screen mode and 16px when seen on a smartphone...

Please see this forum thread.

And the app must have a switch that changes the preview from large screen to small screen.

You can check how your gallery looks in SSM by setting screenMode="SMALL" in JuiceboxBuilder-Pro's 'Customize -> General' section.

If you find there are things that you would like to do that currently cannot be done (or at least not easily), then please post your suggestions in the Feature Requests forum thread. This keeps all the ideas together and ensures that they are not overlooked by the developers. Thank you.

2,589

(1 replies, posted in Juicebox-Pro Support)

If it not possible to change the functionality of the Close Button but you could use the Juicebox-Pro API to run some custom JavaScript (to do whatever you like, such as open a new tab with a specific URL using window.open()) when the gallery is closed.
Listen for the onExpand(expanded) event to be fired (which happens when the gallery is expanded and closed) and run your JavaScript code only when the gallery is closed.
For example:

<!DOCTYPE html>
<html lang="en">
<head>
    <title>Juicebox-Pro Gallery</title>
    <meta charset="utf-8" />
    <style type="text/css">
    body {
        margin: 0px;
    }
    </style>
</head>
<body>
    <!--START JUICEBOX EMBED-->
    <script src="jbcore/juicebox.js"></script>
    <script>
    var jb = new juicebox({
        containerId: 'juicebox-container',
        galleryHeight: '600',
        galleryWidth: '800'
    });
    jb.onExpand = function(expanded) {
        if (!expanded) {
            window.open('http://www.juicebox.net/', '_self');
        }
    };
    </script>
    <div id="juicebox-container"></div>
    <!--END JUICEBOX EMBED-->
</body>
</html>

This would be much easier to do (as above) than trying to hide the Close Button which would involve hiding the Expand/Close Button only in fullscreen mode using CSS on internal Juicebox classes. There would also be the added complication that Juicebox would expect the Close Button to be there which may affect Button Bar sizing and spacing.

OK. I'm glad everything is fine. Thank you for letting me know.

For others reading this thread, it sounds like the original poster may be referring to the Splash Page which is used by default when the gallery is embedded in a page alongside other content and displayed in Small Screen Mode.
For more information on the Splash Page and Screen Modes, please see here.

2,591

(1 replies, posted in Juicebox-Pro Support)

A Juicebox-Pro gallery uses the same set of configuration options for both normal and fullscreen modes and it is not possible to set different values for each mode.
However, there are different options to set the background color for normal and fullscreen modes, namely backgroundColor (in JuiceboxBuilder-Pro's 'Customize -> Lite' section) and expandedBackgroundColor (at the foot of the 'Customize -> Color' section).
You can set the color and opacity for expandedBackgroundColor just as you can for backgroundColor.

For reference, a complete list of all configuration options can be found here.

2,592

(6 replies, posted in Juicebox-Pro Support)

You're welcome! I'm glad my suggestion worked.
(Hopefully this should only be a temporary measure until the bug is fixed although it will do no harm to leave the CSS code in place.)

2,593

(6 replies, posted in Juicebox-Pro Support)

Instead of my original suggestion above, try adding the following to any of your CSS files:

.jcbx-glry-classic {
    direction: ltr;
}

This should hopefully work for both normal and fullscreen modes.

I have logged this issue as a bug with the developers and it should hopefully be fixed in a future version of Juicebox.
Thank you for reporting it.

2,594

(6 replies, posted in Juicebox-Pro Support)

It looks like some custom CSS code on your web page which handles the right-to-left aspect of your web page is switching the left and right hit-areas of the gallery.
I suspect it is the following code from your 'rtl.css' file (specifically the 'direction' property).

#page {
    text-align: right;
    direction: rtl;
}

This code sets the direction for everything within the #page container including your Juicebox gallery (which is nested within the #page container).
You could either modify your CSS so that it applies to only those elements on your web page which require the 'direction' property (through use of further CSS selectors) or you could explicitly set direction: rtl; for the Juicebox gallery container by editing the WP-Juicebox plugin's 'wp-juicebox.php' file in a plain text editor and changing line 287 from:

$string_builder .= '<div id="juicebox-container-' . $clean_gallery_id . '"></div>' . PHP_EOL;

... to:

$string_builder .= '<div id="juicebox-container-' . $clean_gallery_id . '" style="direction: ltr;"></div>' . PHP_EOL;

Please note that the line number above refers to the current version of WP-Juicebox (v1.4.4.1).

2,595

(4 replies, posted in Juicebox-Pro Support)

I'm glad you've been able to resolve your problem.
Thank you for posting back to let me know.

I tried this and it worked perfectly, but the client really didn't like it as the button bar appears about the same time was the image and he didn't like the delay.

If you are referring to the delay between the Button Bar background and the Button Bar icons being displayed, then you could ensure that they are displayed together by hiding and showing the .jb-bb-bar class as well as the .jb-bb-button class.

<!DOCTYPE html>
<html lang="en">
<head>
    <title>Juicebox-Pro Gallery</title>
    <meta charset="utf-8" />
    <style type="text/css">
    body {
        margin: 0px;
    }
    .jb-bb-bar, .jb-bb-button {
        visibility: hidden;
    }
    </style>
</head>
<body>
    <!--START JUICEBOX EMBED-->
    <script src="jbcore/juicebox.js"></script>
    <script>
    var jb = new juicebox({
        containerId: 'juicebox-container'
    });
    jb.onInitComplete = function (e) {
        var mode = jb.getScreenMode();
        if (mode == 'SMALL') {
            $('.jb-bb-button').css('font-size', '16px');
        }
        $('.jb-bb-bar, .jb-bb-button').css('visibility', 'visible');
    };
    </script>
    <div id="juicebox-container"></div>
    <!--END JUICEBOX EMBED-->
</body>
</html>

I thought I would let the client see what small screen mode is like.

If you want to have your gallery displayed in Small Screen Mode in all browsers and on all mobile devices (rather than just when Juicebox-Pro detects a small-screen device), then set screenMode="SMALL" in JuiceboxBuilder-Pro's 'Customize -> General' section.

2,597

(4 replies, posted in Juicebox-Pro Support)

As far as I can remember, I have not encountered such a problem before and, unfortunately, a screenshot would not help me troubleshoot it.
I would really need to see the gallery live on your web server (so that I can check the code on the web page and the gallery's configuration options).
If possible, please post the URL to your gallery's web page so that I can take a look and the problem for myself and hopefully help further.
Otherwise, please post your gallery's configuration options so that I can try to replicate the problem in a test gallery of my own.

Also, if you are not already using the latest version of Juicebox-Pro (v1.4.4.1), then please try upgrading your gallery to see if this helps. (Your problem may be caused by a bug in a previous version which has since been fixed.)
Full instructions for downloading the latest version and upgrading existing galleries can be found here.

No problem!
Glad it was an easy fix.

2,599

(2 replies, posted in Juicebox-Pro Support)

I'm glad you've been able to resolve your problem.
Thank you for posting back to let me know.

For others experiencing similar issues, here's a link to a support page detailing the <a> tag's 'target' attribute with its possible values.

It sounds like you might have AdBlock installed as a browser extension in Chrome.
The first two images in your gallery have the text 'ad1' and 'ad2' in their filenames and AdBlock may be seeing these as advertisements and blocking them.
Try changing the filenames so that they do not contain the text 'ad'.
This should hopefully solve your problem.