1,576

(3 replies, posted in Juicebox-Lite Support)

It's a Wordpress site but I can find no plugin that looks like Juicebox.

The Juicebox plugin for WordPress is called WP-Juicebox and, if installed, it will be listed on the 'Plugins' page in the WordPress admin section.

There is a Portfolio section for the theme so perhaps the juicebox is somehow built into the theme?

As far as I am aware, there are no official themes which contain Juicebox so if Juicebox is somehow built into a theme, someone has been very creative!

This leads me to think perhaps there is a hard-coded "www" somewhere in a setup file. However I can find no setup file. I see talk on this forum of an "embed" file but at this point I have no idea where to find that file.

If WP-Juicebox is not installed, then it is likely that individual Juicebox galleries have been embedded manually into pages or posts.
Each gallery consists of a 'jbcore' folder (containing the Juicebox core files), a 'config.xml' file (containing the gallery's image data and configuration options) and 'images' and 'thumbs' folders. This should give you something to search for on your server.
In addition to the files required for a Juicebox gallery, there will be some embedding code (in the body of the page or post containing the gallery) which will look something like this:

<!--START JUICEBOX EMBED-->
<script src="my_gallery_folder/jbcore/juicebox.js"></script>
<script>
    new juicebox({
        baseUrl: 'my_gallery_folder/',
        configUrl: 'config.xml',
        containerId: 'juicebox-container',
        galleryWidth: '800',
        galleryHeight: '600',
        backgroundColor: '#222222'
    });
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->

If you find a Juicebox gallery that does not work, then it is certainly possible that the paths in the embedding code are pointing to the wrong places.
For each web page containing a gallery (or galleries), there will always be a path pointing towards the 'juicebox.js' file (inside the 'jbcore' folder).
Depending on the structure of the gallery, there may (or may not) be additional paths in the embedding code as follows:
(1) A configUrl path pointing towards a specific configuration file.
(2) A baseUrl path, pointing towards a specific gallery folder (please see here for details).

If there is any way for you to let me see the site (or at least a dysfunctional Juicebox gallery page), I should hopefully be able to help you further. Thank you.

1,577

(4 replies, posted in Juicebox-Pro Support)

Thank you for providing the screenshot.

Regarding point 3 that you made - we are using an Adobe script on the site that applies a specific font family on the site. Is this an example of a global CSS rule?

It could be, depending on how the CSS rule is applied. If it applied to only certain ids or classes, then things should be OK but if it is applied to all elements on the web page (being applied to * or the html or body tags), then you might run into problems with the gallery inheriting the font, although I can't actually override the Juicebox font myself by doing something similar (see below).

Also, we are testing the gallery on a staging server and not one that is public. Could this be affecting the gallery?

This is likely to be a factor only if there is a problem with the font MIME types on your staging server.

I am not sure if these are part of the font files that are uploaded with the juicebox module or not.

The icons in the screenshot are not part of the Juicebox font and I do not know where they are coming from. I've never seen the Juicebox font get hijacked like this before.
I can't even override the font myself by adding CSS code such as the following to a gallery's web page:

*, html, body, #juicebox-container {
    font-family: Courier !important;
}

The icons still display fine in my own test gallery, even with the code above in place.

In order to troubleshoot the problem further, please try the following.
(1) Create a sample gallery with JuiceboxBuilder-Pro (the desktop application which comes with Juicebox-Pro).
(2) Upload the complete gallery folder to your web server.
(3) Open the gallery's 'index.html' file (inside the gallery folder) to view the gallery on a web page of its own.

If the icons all display fine when you view the test gallery on its own 'index.html' page, then there is no problem with your server and the problem lies somewhere within the code on your other gallery's web page.
If the icons do not display fine in the test gallery, then there is likely to be a problem with the font MIME types on your server.

This should at least point you in the right direction and be one step closer to reaching a solution.

You could also use your browser's developer tools (F12) to try to figure out what custom CSS code on your web page might be overriding the gallery's own font.

1,578

(4 replies, posted in Juicebox-Pro Support)

The Splash Page was designed to be a placeholder for the gallery in Small Screen Mode (essentially an image link with some information) where the gallery may be too small to be useable (on small screen devices) if it is embedded into a web page. When the Splash Page is clicked (or tapped), the gallery is expanded to give the images as much room to be displayed as possible.

You can still use the Splash Page in Large Screen Mode if you like (by setting showSplashPage="ALWAYS") but the Splash Page's functionality will remain the same.

There is a little more information about the Splash Page in the Screen Modes section of the Gallery Tour.

There is no way to override how the Splash Page functions in a Juicebox gallery and it sounds like you might need to create your own custom version of the Splash Page in your web page and load your gallery in its place when it is clicked.
This would certainly be possible but knowledge of HTML, CSS and JavaScript will likely be required (and it would be much easier to work with the available configuration options to reach a compromise).

1,579

(1 replies, posted in Juicebox-Pro Support)

How I can configure so a unique URL for each image is displayed in the browser URL bar as the album is being viewed?

Set enableDirectLinks="TRUE" (in JuiceboxBuilder-Pro's 'Customize -> General' section) and each image in the gallery will have its own unique URL (the gallery's own URL with a # identifier at the end with a number representing the image's position in the gallery). The URL will change as images are selected in the gallery and each unique URL can be used to go directly to its corresponding image in the gallery. There is a short description of this configuration option in the General section of the Config Options page.

I switched to JB, the gallery is very nice, but nothing shows up in the search engines (while other images from the same site/page that are not in the JB album, do show up in search engines).

Select the 'Add SEO Content' checkbox in JuiceboxBuilder-Pro's 'Sharing' section (to instruct JuicboxBuilder-Pro to generate SEO Content code) and, if you are embedding your gallery into an existing web page (rather than just using the gallery's own 'index.html' file where the SEO Content code will already be present), then be sure to copy all the embedding code on JuiceboxBuilder-Pro's 'Publish' tab.
Please see the Search Engine Optimization support section for further information.

1,580

(9 replies, posted in Juicebox-Pro Support)

You're welcome!
I'm glad you've been able to implement one of my suggestions into your gallery.
Thank you for letting me know.

Juicebox was designed as an image viewer and, as such, does not support videos.
Please see this FAQ:
Will Juicebox load things other than images?

You may need to incorporate your videos either alongside your galleries (rather than within the galleries themselves) or on different web pages.

1,582

(4 replies, posted in Juicebox-Pro Support)

I placed the font files (extracted from the jbcore folder) to the following, which was recommended by Drupal community -

\sites\all\libraries\juicebox\classic\fonts -

That sounds correct. The module's documentation (Step #3 on this web page) states that you should copy the entire contents of the 'jbcore' folder to your /sites/all/libraries/juicebox/ directory. You should not need to find the font files specifically, though: just upload the entire contents of the 'jbcore' folder to your /sites/all/libraries/juicebox/ directory, keeping the 'jbcore' folder structure intact, and the font files should be uploaded (along with all the other resource files that Juicebox needs) to the correct location on your web server.

The problem is likely to be caused by one of the following:

(1) Please double-check that the font files are present in the correct location on your web server. Even if you find that they are where they should be, try re-uploading them in case something happened during the initial upload which has somehow resulted in corrupt files.

(2) A browser setting or extension might be causing the problem. Try viewing your gallery in a different browser (Edge, Firefox, Internet Explorer 11, Opera, Safari) to see if this makes a difference. If the icons appear OK in a different browser, then try temporarily disabling all extensions in your Chrome browser to see if this helps.

(3) Check that there are no global CSS font rules on your web page which might be setting a custom font for all elements which is overriding Juicebox's own icon font.

(4) A further cause of your problem might be incorrect or missing MIME types for the font files on your web server.
If this is the case, then you may have to contact your web host to ask if they can add the font file types (.eot, .svg, .ttf, .woff) to the list of known MIME types (so that browsers know what to do with them).

If you continue to experience difficulties, I'd be happy to help further but I'd really need to see the problem live on your web server (to at least try to determine whether the problem is server-side or client-side) but I notice that your gallery is currently password protected.
I hope that my notes above point you in the right direction but if you need any further assistance and are happy for me to view your gallery, please let me know and I'll send you an email where you can send me your web page's login details.
Thank you.

First of all, I would try to embed the gallery directly into the web page that you want the gallery to appear in.
This should prevent you from having to deal with iframe problems on mobile devices.

Next, if your Shopify page is actually on your own domain (the same domain where your gallery folder has been uploaded to), then there should be no need to use a CORS solution. You should be able to just use the regular embedding code (or the baseUrl embedding code if you have uploaded the entire gallery folder rather than just its contents).

But the gallery does not display: https://www.charleychau.com/pages/test-gallery-2

This is because you've uploaded the .htaccess file to gallery.charleychau.com but the paths in the embedding code point towards www.gallery.charleychau.com (note the different 'www' subdomain). (When I posted the code above, I just copied the path from the 'src' attribute of your iframe.)

Try changing the two paths in your embedding code from www.gallery.charleychau.com to just gallery.charleychau.com.

Alternatively, if you have direct access to the charleychau.com web space, then there is no need to have created a 'gallery' subdirectory (and it is probably just complicating matters).

If you can, upload your complete 'test-gallery' folder to the root directory of your charleychau.com domain and use the following embedding code in your 'test-gallery-2' page.

<!--START JUICEBOX EMBED-->
<script src="/test-gallery/jbcore/juicebox.js"></script>
<script>
  new juicebox({
    baseUrl: "/test-gallery/",
    containerId: "juicebox-container",
    galleryWidth: "100%",
    galleryHeight: "600",
    backgroundColor: "#222222"
  });
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->

This should hopefully be all that is required to allow the gallery to work when users visit either charleychau.com or www.charleychau.com.

1,584

(4 replies, posted in Juicebox-Pro Support)

It sounds like you are using the Splash Page in Large Screen Mode. When the Splash Page is clicked, the gallery expands using the useFullscreenExpand and expandInNewPage values.

Make sure you set screenMode="AUTO" (in JuiceboxBuilder-Pro's 'Customize -> General' section) and showSplashPage="AUTO" ('Customize -> Splash Page') and the Splash Page will not be used when the gallery is displayed in Large Screen Mode. A visitor to your web site will then be able to expand the gallery by clicking the Expand Button on the Button Bar (as long as you set showExpandButton="TRUE" and do not set buttonBarPosition="NONE").

If you continue to experience difficulties, please post back with the URL to your gallery so that I can take a look at its configuration options and hopefully help further.

If the width of your iframe is of concern, then you could try giving your iframe a width of 100% (either via the 'width' attribute or inline CSS):

<iframe src="https://www.gallery.charleychau.com/test-gallery/index.html" width="100%" height="600" frameborder="0" scrolling="no"></iframe>
<iframe src="https://www.gallery.charleychau.com/test-gallery/index.html" height="600" frameborder="0" scrolling="no" style="width: 100%;"></iframe>

It the layout of your gallery page is the problem, then you're seeing the thumbnail page of Small Screen Mode for the following reasons:
(1) Small Screen Mode is used by default on mobile devices.
(2) When a gallery is embedded with dimensions of 100% x 100% on a page of its own (with no other content), then the Splash Page is not used (and the thumbnail page is the first thing you'll see in Small Screen Mode). Your gallery fits this description as it is embedded full-page in 'index.html' on your 'charleychau.com' domain.

As you have uploaded your gallery to a regular web server which you seem to have control over, perhaps the best option would be to embed your gallery using the baseUrl method (using absolute paths) and ensure that you set up a CORS (cross-origin resource sharing) solution. More information about CORS can be found here.
Normally, trying to embed a Juicebox gallery hosted on one domain and whose embedding code is on another will not work due to the Same-Origin Policy.
However, if you add the following code to an '.htaccess' file in the root directory of your 'charleychau.com' domain (where your gallery is hosted):

Header add Access-Control-Allow-Origin "*"

... then you should be able to replace the iframe in your Shopify page with the following code to embed your Juicebox gallery directly into your Shopify page:

<!--START JUICEBOX EMBED-->
<script src="https://www.gallery.charleychau.com/test-gallery/jbcore/juicebox.js"></script>
<script>
  new juicebox({
    baseUrl: "https://www.gallery.charleychau.com/test-gallery/",
    containerId: "juicebox-container",
    galleryWidth: "100%",
    galleryHeight: "600",
    backgroundColor: "#222222"
  });
</script>
<div id="juicebox-container"></div>
<!--END JUICEBOX EMBED-->

I hope this works for you.

1,586

(9 replies, posted in Juicebox-Pro Support)

Is that possible: 950px height on larger devices, less on small screens.

Juicebox uses only one galleryHeight value for both Small Screen Mode and Large Screen Mode so trying to use a different value for each screen mode is not going to be easy.
However, there are a few things you could try.

(1) Load the gallery with dimensions for Large Screen Mode, check the Screen Mode being used (via the Juicebox-Pro API getScreenMode() method) and resize the gallery with appropriate dimensions (via the setGallerySize() method) if Small Screen Mode is being used. However, the setGallerySize() method accepts only fixed pixel values for both the width and height so maintaining a width of 100% would not be possible using this method.
If you wanted to try this, though, you could use embedding code such as:

<script>
    var galleryWidthLargeScreenMode = '1000';
    var galleryWidthSmallScreenMode = '1000';
    var galleryHeightLargeScreenMode = '950';
    var galleryHeightSmallScreenMode = '650';
    var jb = new juicebox({
        containerId: "juicebox-container",
        galleryWidth: galleryWidthLargeScreenMode,
        galleryHeight: galleryHeightLargeScreenMode,
        screenMode: "AUTO"
    });
    jb.onInitComplete = function() {
        var screenMode = jb.getScreenMode();
        if (screenMode === 'SMALL') {
            jb.setGallerySize(galleryWidthSmallScreenMode, galleryHeightSmallScreenMode);
        }
    };
</script>

(2) Use your own custom JavaScript function to check if a mobile device is being used to view the gallery and then set a gallery height accordingly. It is unlikely that your JavaScript check will exactly match up with Juicebox's own internal test for whether to use Small or Large Screen Mode (I do not know the exact logic that Juicebox uses) but it might be good enough for most situations.
You could maybe use a galleryHeight entry in your embedding code such as:

galleryHeight: /Android|BlackBerry|iPad|iPhone|iPod|Nexus|webOS/i.test(navigator.userAgent) ? '650' : '950',

(3) Load the gallery with dimensions for Large Screen Mode, check the Screen Mode being used (via the Juicebox-Pro API getScreenMode() method) and reload the gallery with appropriate dimensions if Small Screen Mode is being used. This method will allow you to maintain a gallery width of 100% (unlike #1 above) and your choice of heights will always match up with the Screen Mode being used (unlike #2 above) but it would be the most complicated of the 3 suggestions to implement and you'd probably want to hide things using CSS until the gallery has been loaded with the correct dimensions (and you'd also need a tracking variable to ensure that the reloading of the gallery does not happen repeatedly).
To see this in action, create a test gallery with 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="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0" />
        <style type="text/css">
            body {
                margin: 0px;
            }
            #juicebox-container {
                display: none;
            }
        </style>
        <script type="text/javascript" src="jbcore/juicebox.js"></script>
        <script type="text/javascript">
            var counter = 0;
            var galleryWidthLargeScreenMode = '100%';
            var galleryWidthSmallScreenMode = '100%';
            var galleryHeightLargeScreenMode = '950';
            var galleryHeightSmallScreenMode = '650';
            var jb;
            function loadGallery(width, height) {
                jb = new juicebox({
                    containerId: "juicebox-container",
                    galleryWidth: width,
                    galleryHeight: height,
                    screenMode: "AUTO"
                });
                counter++;
            }
            loadGallery(galleryWidthLargeScreenMode, galleryHeightLargeScreenMode);
            jb.onInitComplete = function() {
                var screenMode = jb.getScreenMode();
                if (counter === 1 && screenMode === 'SMALL') {
                    loadGallery(galleryWidthSmallScreenMode, galleryHeightSmallScreenMode);
                }
                if ((counter === 1 && screenMode === 'LARGE') || (counter === 2 && screenMode === 'SMALL')) {
                    $('#juicebox-container').show();
                }
            };
        </script>
        <title>Test</title>
    </head>
    <body>
        <div id="juicebox-container"></div>
    </body>
</html>

#2 would certainly be the easiest to implement but you might like to try incorporating the code from #3 into your web page.

I hope this helps.

1,587

(9 replies, posted in Juicebox-Pro Support)

Actually, a fixed height gallery often works very well in web pages that have a lot of content and scroll vertically (and are not designed to fit all content within the browser window without any scrolling). The gallery can still be responsive in the horizontal dimension (as long as the gallery's width is defined as a percentage and your web page's layout is, itself, responsive).

1,588

(9 replies, posted in Juicebox-Pro Support)

The gallery's dimensions are determined by the galleryWidth and galleryHeight options (set in the embedding code) and the gallery's size remains constant (unless percentage dimensions are used and the size of the browser window changes). No controls within the gallery will affect the gallery's size.

When you choose to show thumbnails, then space needs to be made available for them so the size of the main image decreases.
When you chose to hide the thumbnails, then extra space within the gallery becomes available and the size of the main image increases to take advantage of this (to display the main image as large as possible within the gallery).

It is not possible to not change the size of the main image when the thumbnails are toggled on or off (you'd have a blank space where the thumbnails would be when they are not shown).

You could, however, choose to always use the Small Screen Mode version of the gallery, where thumbnails and main images are displayed on separate pages (rather that sharing the gallery space together on the same page), by setting screenMode="SMALL" (in JuiceboxBuilder-Pro's 'Customize -> General' section).

If you choose to continue to use screenMode="AUTO", then you can disable the thumbnails completely when the gallery is displayed in Large Screen Mode by setting showThumbsOnLoad="FALSE" ('Customize -> Thumbnails') and showThumbsButton="FALSE" ('Customize -> Lite'). Alternatively, you can always have the thumbnails displayed (and prevent them from being hidden) by setting showThumbsOnLoad="TRUE" and showThumbsButton="FALSE".

If you really want to have the size of your gallery change when the thumbnails are toggled on or off, then you could try something like the following which takes advantage of several Juicebox-Pro API methods.
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="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0" />
        <style type="text/css">
            body {
                margin: 0px;
            }
        </style>
        <script type="text/javascript" src="jbcore/juicebox.js"></script>
        <script type="text/javascript">
            var galleryWidthHideThumbnails = 600;
            var galleryWidthShowThumbnails = 600;
            var galleryHeightHideThumbnails = 400;
            var galleryHeightShowThumbnails = 505;
            var jb = new juicebox({
                containerId: "juicebox-container",
                galleryHeight: galleryHeightShowThumbnails,
                galleryWidth: galleryWidthShowThumbnails,
                showThumbsButton: "TRUE",
                showThumbsOnLoad: "TRUE"
            });
            jb.onInitComplete = function() {
                if (jb.getScreenMode() === "LARGE") {
                    jb.onShowThumbs = function(showing) {
                        window.setTimeout(function() {
                            var width = showing ? galleryWidthShowThumbnails : galleryWidthHideThumbnails;
                            var height = showing ? galleryHeightShowThumbnails : galleryHeightHideThumbnails;
                            jb.setGallerySize(width, height);
                        }, 500);
                    }
                }
            };
        </script>
        <title>Test</title>
    </head>
    <body>
        <div id="juicebox-container"></div>
    </body>
</html>

You can change the gallery dimensions as you like.

Please note that this is not an ideal solution. Juicebox was not designed with this in mind and a short delay is required to ensure that the gallery is not resized until after the thumbnails are toggled on or off. This ensures that the thumbnails are not temporarily displayed on top of the main image (which looks untidy) but has the side effect that the main image is temporarily resized when the thumbnails are shown (slightly less untidy).

As this is not something that Juicebox was designed to do, I would recommend using the available configuration options to reach a compromise although you are certainly free to use and modify the code I provided if you like (although please be aware that trying to do something that Juicebox was not designed to do can often be fraught with difficulties and unforeseen problems might need to be tackled along the way).

I hope these notes help.

1,589

(10 replies, posted in Juicebox-Pro Support)

The code I posted above seems to work OK for myself. (The default click handler for the Shopping Cart button is removed successfully before adding a new custom one.)
The only way I can make it fail is to load a separate version of jQuery into the gallery's web page (for more than the basic jQuery functionality that is built into the 'juicebox.js' file).
I do not know if you are doing this but I suspect the code you posted above is incomplete (there is no opening <body> tag and your JavaScript code refers to a #modalShoppingCart element which does not exist).
If you are loading a separate version of jQuery, then try adding the following code immediately after loading the external file:

<script>
    $.noConflict();
</script>

... and continue to use:

$('.jb-bb-btn-fotomoto').off('click');

... but use the alias jQuery instead of $ for all other jQuery calls, e.g.:

jQuery('.jb-bb-btn-fotomoto').click(function(event) {

This seems to work in my own tests.
I hope this helps.

Editing a gallery using JuiceboxBuilder-Pro relies on there being a local copy of the gallery available.
JuiceboxBuilder-Pro cannot edit a gallery online.

If you want to edit a single gallery using two different computers, then, each time you edit the gallery on one computer, I'd recommend storing the entire gallery somewhere so that it can be accessed by the other computer. Perhaps copy the gallery folder to a USB flash drive or zip the complete gallery folder and upload it somewhere so that you can easily download it and work on it from your second computer.

I don't know how important it is for you to manage a gallery from different locations but you might be interested in another one of our products: Showkase.

Showkase is a PHP web application (installed on your web server) which allows you to create a complete portfolio web site (integrating multiple galleries) online. However, you can use Showkase in its Gallery Manager theme to create and edit galleries (which you can embed into any web pages throughout your website) online through a web browser interface. You'd be able to log into your Showkase site from any computer and edit your gallery directly online (without the need to upload any modified gallery files via FTP). You can also import existing galleries (created with JuiceboxBuilder-Pro) into your Showkase site so that you can then manage them from within the application's interface.

Please feel free to take a look around the Showkase interface by logging into the Live Demo Admin.

Showkase can be purchased as Showkase-Standard (which comes with Juicebox-Lite and SimpleViewer-Standard, the free versions) or Showkase-Pro (which comes with Juicebox-Pro and SimpleViewer-Pro). The only difference between Showkase-Standard and Showkase-Pro is the bundled viewers.
As you already have Juicebox-Pro, you could purchase Showkase-Standard and integrate your Juicebox-Pro files following the Installing a Pro Viewer instructions.

The gallery's 'config.xml' file stores the configuration options and the image data so, after editing a gallery in JuiceboxBuilder-Pro, you'll need to re-upload the 'config.xml' file (as well as any new images and thumbnails to their respective folders).

The gallery's dimensions and background color are set in the embedding code (so that the gallery can be rendered on the web page with the correct size and color before the 'config.xml' file is parsed) so if you change the gallery width, gallery height or background color, you'll need to update your gallery's embedding code, too.

1,592

(9 replies, posted in Juicebox-Pro Support)

Unfortunately, I don't have an iPad on which to test but your gallery's Splash Page (in your embedding web page) and the gallery itself both look OK on my iPod Touch. The Splash Page resizes correctly when changing orientation and, when the gallery has been expanded from the Splash Page, the images are displayed as large as possible within the gallery's image area (no matter what orientation the device is in).

Here are a couple of things I notice which might point you in the right direction.

(1) Your embedding page does not seem to be responsive in desktop browsers.
If the browser window is made more narrow, then the content on your web page does not adapt to the new width. The content is simply truncated (beyond the right-hand side of the browser window). This might be contributing to your problem in browser viewports of a certain width. Rotating your iPad might have a similar effect to changing the width of a desktop browser window (where your embedding page no longer fits the browser viewport).

(2) You have given your gallery dimensions of 100% x 100%. This might be perfectly OK but please check your gallery's parent container to see what dimensions have been assigned to it via CSS. A gallery height of 100% means that the gallery's actual height will be 100% of the height of its parent container. If the gallery's parent container has not been assigned a height via CSS, then Juicebox may not be able to determine what the gallery's actual height should be 100% of and this might cause your gallery to be displayed at unexpected dimensions.
Try giving your gallery a fixed pixel height (and try a few different values) instead of a percentage (at least for testing purposes). A gallery with a greater height will have a larger image area and this may allow the image to be displayed larger (depending on aspect ratios) with less space to the left and right.
Also, as your embedding page seems to be based on a fixed width, you might like to try giving your gallery a fixed width, too (to match that of your page).

If you continue to experience difficulties, please let me know the following:
(1) Does the problem happen only within the embedding page or also when the gallery has been expanded?
(2) What version of iPad do you have?
(3) What version of iOS do you run on your iPad?
(4) What browser (or browsers) do you see the problem in (Mobile Chrome, Mobile Firefox, Mobile Safari)?

Also, if possible, please provide screenshots so that I can see what you are seeing (as I do not have an iPad and cannot see your problem). You can attach images to a forum post if you like or upload them elsewhere and provide links.

Hopefully, once I'm able to see the problem (at least in screenshots), I should have a better idea of what might be causing it and might be able to propose a solution.
Thank you.

1,593

(7 replies, posted in Juicebox-Pro Support)

You're welcome.

Even though Showkase creates responsive pages for a wide range of devices and screen shapes and sizes, I realise that you might not have been able to achieve the exact layout that you were looking for.
However, it is certainly much easier to work with the available Showkase and Juicebox configuration options than to delve deep into the source code and CSS to try to modify the layout manually.
Sometimes, a compromise might be required (between your ideal scenario and what is easily achievable using the available configuration options). Your web pages should still look good across different platforms (if not exactly as you envisioned).
I hope you're able to find a balance that works for you with what Showkase and Juicebox-Pro have to offer.

1,594

(7 replies, posted in Juicebox-Pro Support)

Is the 'SM.png' below the best I can expect to make the small screen mode with caption look? (IE caption over the image) or is there an option Im not using that would push the caption below?

There is no way to move the caption area in Small Screen Mode: captionPosition is active in Large Screen Mode only.
In Small Screen Mode, the captionPosition is always set to OVERLAY, although the overlay can be toggled on and off by tapping the screen (or the Info Button if it is used). This gives the images as much room to be displayed as possible on small screen devices.
You could perhaps make your caption text stand out a little more by setting captionBackColor and/or captionBackTopColor (to give your caption area a more prominent background color instead of it being transparent) or by changing your textColor.

I am currently forcing Large screen mode and the below you can see the outcome...

In Large Screen Mode, when you set captionPosition="BELOW_IMAGE", Juicebox uses the maxCaptionHeight value as an absolute value (rather than a maximum value) and this amount of space is always reserved for the caption area (no matter how much text there is to be displayed).
With the Showkase header and the reserved caption area below the images in the gallery, the images are probably being displayed as large as they can within the remaining space available.
By default, Showkase displays a gallery page such that the header and gallery are visible in their entirety (with the bottom of the gallery at the bottom of the browser window) so that users do not need to scroll to see any of the gallery.
The easiest way to increase the space available for the images would be to either reduce the maxCaptionHeight value (if possible) or set captionPosition to OVERLAY or OVERLAY_IMAGE.

1,595

(5 replies, posted in Juicebox-Lite Support)

You're welcome.
I'm glad you've got it working. Thank you for letting me know.

1,596

(6 replies, posted in Juicebox-Pro Support)

If anyone else is reading this thread and experiencing a similar issue, please make sure that you are using the latest version of WP-Juicebox (v1.5.0.1) which can be downloaded from the plugin's support page here.

It looks like the problem was due to bug in WP-Juicebox v1.5.0 regarding the use of a custom permalink structure.
This problem was fixed in WP-Juicebox v1.5.0.1 (see the Version History page for a list of changes between versions) and upgrading WP-Juicebox to v1.5.0.1 should solve the problem.

1,597

(6 replies, posted in Juicebox-Pro Support)

Please check your email. I have sent you a message with an email address where you can forward me your login details.
Thank you.

1,598

(3 replies, posted in Juicebox-Pro Support)

@safeboat

Right-clicking is disabled within a Juicebox gallery but, in addition to showOpenButton (as noted above), there is now a direct download button (introduced in v1.5.0 - see the Version History page for a full list of changes).

Set showDownloadButton="TRUE" (in JuiceboxBuilder-Pro's 'Customize -> Button Bar' section) and the Download Button will be displayed on the gallery's Button Bar. Clicking this button will automatically initiate a download of the current image (without the need to open the image in a new page first).

You can check out the Download Button in this demo gallery (2nd icon from the left on the Button Bar).

By default, the Download Button will download the imageURL.
However, if you use a Multi-Size Image gallery and use large images, then the Download Button will download the largeImageURL
If you assign a linkURL to an image (to point towards a custom file), then the Download Button will download the linkURL instead.

1,599

(5 replies, posted in Juicebox-Lite Support)

As an update to this topic, the code I posted back in 2015 worked at the time but it seems to be unreliable now (the arrow keys work for only one image transition before the gallery needs a click for keyboard controls to continue functioning).
I find that the following code seems to work well with the current version of Juicebox (v1.5.0):

jb.onInitComplete = function() {
    $('.juicebox-gallery').first().focus();
};

@ryanrowlett
If you'd like to incorporate this focus code into the Lightroom plugin (so that each 'index.html' file generated by the plugin includes this code), then you can edit the plugin's template 'index.html' file as follows.

(1) Open the plugin's template 'index.html' file in a plain text editor. (Change the directory name from 'juicebox_pro.lrwebengine' to 'juicebox_lite.lrwebengine' is you are using the Lite version of the plugin.)
Mac - Users/username/Library/Application Support/Adobe/Lightroom/Web Galleries/juicebox_pro.lrwebengine/index.html
Window - C:\Users\username\AppData\Roaming\Adobe\Lightroom\Web Galleries\juicebox_pro.lrwebengine\index.html

(2) Scroll down to the start of the 'new juicebox' embedding code section.

(3) Replace:

new juicebox({
    backgroundColor: "<%= get_rgba(model.extra.backgroundColorColor, model.extra.backgroundColorOpacity) %>",
    containerId: "juicebox-container",
    galleryHeight: "<%= model.extra.galleryHeight %>",
    galleryWidth: "<%= model.extra.galleryWidth %>"
});

... with:

var jb = new juicebox({
    backgroundColor: "<%= get_rgba(model.extra.backgroundColorColor, model.extra.backgroundColorOpacity) %>",
    containerId: "juicebox-container",
    galleryHeight: "<%= model.extra.galleryHeight %>",
    galleryWidth: "<%= model.extra.galleryWidth %>"
});
jb.onInitComplete = function() {
    $('.juicebox-gallery').first().focus();
};

As you are also a Showkase user, I should point out that this will work only if the gallery's 'index.html' page is used to display the gallery (on a page of its own).
If the gallery is subsequently imported into Showkase, then this modification will be lost. The gallery's HTML embedding page is not used when importing a gallery (only the images and configuration options in the gallery's 'config.xml' file are taken into consideration).
If you'd like the focus code to be used for Juicebox gallery pages within Showkase, then just add the following code to your theme's 'custom.js' file.

$(document).ready(function() {
    if (jb) {
        jb.onInitComplete = function() {
            $('.juicebox-gallery').first().focus();
        };
    }
});

For example, if you are using the Kosel, them, then the 'custom'js' file can be found in this location: showkase/_themes/kosel/js/custom.js
If you are using a different theme, just replace 'kosel' in the path above with the name of the theme that you are using.

1,600

(1 replies, posted in Juicebox-Pro Support)

Every gallery needs to have a separate configuration file (default name 'config.xml').
You can certainly set Config Options in the embedding code (please see here for details), but image data cannot be set in the embedding code and must be set in the configuration file.
Even if you use a Flickr account as a source of images and set the Flickr Options in the embedding code, the gallery still needs a separate configuration file (even if it is just a dummy file with only a <juiceboxgallery /> tag) to function correctly.

Please note that if a configUrl is not explicitly set in the embedding code, then Juicebox will look for a file named 'config.xml' in the same directory as the web page containing the embedding code.

I don't know what your goal is or if it will help you out but you could use a PHP script (or use some other server-side scripting language) to generate XML content on-the-fly when the gallery is displayed. Please take a look at this forum post (scroll down to the answer to Query #3) which has an example of how this could be achieved to display all images in a designated folder. (You could change the code to pull in image data from a database or whatever image source you choose to use.)