501

(1 replies, posted in Juicebox-Pro Support)

The 'juicebox.ttf' and 'juicebox.woff' font files are generated by the IcoMoon App and contain glyphs used as gallery icons (such as those on the Button Bar).
You can check out the contents of these font files using the online FontDrop service.

Juicebox does not use its own custom font for gallery text. The 'juicebox' font is used only for gallery icons.
Juicebox sets the font for gallery text in the 'theme.css' file (on lines 61 and 1179) to:

font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;

Roboto is very similar to Helvetica so maybe this helps to explain things.

For reference, more information on the use of custom icons can be found in the Using Custom Icons support section in the Theming Guide.

Please note that the line numbers above refer to the current version of Juicebox-Pro (v1.5.1).

502

(9 replies, posted in Juicebox-Pro Support)

Thanks for the updates!

I'm glad you've been able to resolve your problems.
Thank you for letting me know. It's most appreciated!

503

(6 replies, posted in Juicebox-Pro Support)

It has certainly been a long time since the last version was released.
I'd like to see a new version sooner rather than later myself.
All I can say at this stage is that Juicebox is still alive and that work has started on the next version (although progress is slow and I do not know when it will be released).

504

(6 replies, posted in Juicebox-Pro Support)

@arachnid
Thank you for sharing your solution.

@seanconnor
Juicebox does, indeed, come with its own version of jQuery (v1.7).
Unfortunately, this version of jQuery is bundled within the 'juicebox.js' JavaScript file which is obfuscated and cannot be modified (so the bundled version of jQuery cannot be removed or replaced by a user).
The developers are aware of the flags that this version of jQuery raises and this issue should be addressed for a future version of Juicebox (although I do not know when this might be).
In the meantime, overriding the bundled version of jQuery with a more recent version (arachnid's suggestion) might be the best course of action.

505

(9 replies, posted in Juicebox-Pro Support)

Looking at the code from your other post (which is different to the code you posted here), it seems that your 'quebeccity' folder may be a complete gallery folder.
If this is the case, then you can point towards this gallery folder (without the need to rename or move any gallery files) by using a baseUrl configuration option in your gallery's embedding code.

<script>
    new juicebox({
        baseUrl: "photogallery/quebeccity/",
        containerId: "juicebox-container",
        galleryWidth: "100%",
        galleryHeight: "100%",
        backgroundColor: "rgba(34,34,34,1)"
    });
</script>

When using a baseUrl, Juicebox looks for a file named 'config.xml' inside the baseUrl folder.

For reference, short descriptions for both configUrl and baseUrl can be found in the Embed Options section of the Config Options page.

506

(1 replies, posted in Juicebox-Pro Support)

If you see the "Config file not found." message for a gallery which has been uploaded to a web server, then the tips from this forum post will not help. They are specifically for help with local viewing only (viewing a gallery from a computer's hard drive rather than from a web server).
Please see my response to your query in this forum thread. I hope my suggestions over there help.

507

(9 replies, posted in Juicebox-Pro Support)

If there is no configUrl (pointing towards a configuration file) or baseUrl (pointing towards a gallery folder) in your gallery's embedding code, then Juicebox looks for a file named 'config.xml' in the same directory as the web page containing the embedding code.
If your gallery's configuration file is not named 'config.xml' or is not in the same directory as the web page containing the embedding code, then you'll see the "Config file not found." message.

You can either:
(1) Rename and/or move your gallery's configuration file so that it has the default name ('config.xml') and is in the default location (alongside the gallery's web page).
... or:
(2) Use a configUrl in your gallery's embedding code to point towards your gallery's configuration file, e.g.:

<script>
    new juicebox({
        configUrl: "path/to/my_own_configuration_file.xml",
        containerId: "juicebox-container",
        galleryWidth: "100%",
        galleryHeight: "100%",
        backgroundColor: "rgba(34,34,34,1)"
    });
</script>

Please note that if your gallery's configuration file is not in the default location, then you might need to adjust the imageURL and thumbURL paths within the file.

Another reason why you might be seeing the "Config file not found." message is if the file itself is somehow corrupt and the browser cannot read it.
Open the 'config.xml' file directly in a browser (drag and drop the file into a browser window or enter the address to the file into the browser's address bar) and you should see the XML code.
If there is a problem with the file (such as a control character in an image's caption which is breaking the XML syntax), then the browser should note the problem and the line in the file at which the problem occurs.
You should then be able to open the 'config.xml' file in a plain text editor and fix the problem.

I hope this points you in the right direction.
However, if you continue to experience difficulties, then please email me back with a link to your gallery so that I can see the problem for myself and hopefully help further.
Thank you.

508

(1 replies, posted in Juicebox-Pro Support)

This is not possible using just the available configuration options but it is possible with some custom JavaScript code and use of the Juicebox-Pro API.

You'd need to check the browser's width and set the thumbsPosition configuration option (and probably the maxThumbColumns and maxThumbRows configuration options, too) accordingly using JavaScript in the gallery's embedding code.

You'd then need to set up a listener to determine when the browser's width changes (for example if the user resizes the browser window) and then reload the gallery (putting the gallery's embedding code in a JavaScript function which you can call when required) with the appropriate thumbnail configuration options.

You'd also need to take note of the current image being displayed when the browser's width crosses the threshold value (using the Juicebox-Pro API getImageIndex() method) to ensure that the same image is displayed when the gallery is reloaded.

Here's an example which positions the thumbnails in a single row below the main image when the browser's width is less than 700px and in a grid to the left of the main image when the browser's width is greater than or equal to 700px.
Too see this example in action, just create a sample gallery with JuiceboxBuilder-Pro an use the HTML code below 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 a;
            var b;
            var c;
            var d;
            var jb;
            var thresholdWidth = 700;
            var tracker = false;
            function loadGallery(a, b, c, d) {
                jb = new juicebox({
                    containerId: "juicebox-container",
                    firstImageIndex: a,
                    maxThumbColumns: b,
                    maxThumbRows: c,
                    thumbsPosition: d
                });
                tracker = true;
            }
            function thumbsStatus() {
                var windowWidth = window.innerWidth ? window.innerWidth : $(window).width();
                if (windowWidth < thresholdWidth && (d === 'LEFT' || tracker === false)) {
                    a = tracker === false ? '1' : jb.getImageIndex();
                    b = '10';
                    c = '1';
                    d = 'BOTTOM';
                    loadGallery(a, b, c, d);
                }
                if (windowWidth >= thresholdWidth && (d === 'BOTTOM' || tracker === false)) {
                    a = tracker === false ? '1' : jb.getImageIndex();
                    b = '3';
                    c = '3';
                    d = 'LEFT';
                    loadGallery(a, b, c, d);
                }
            }
            $(document).ready(function() {
                thumbsStatus();
                $(window).resize(thumbsStatus);
            });
        </script>
        <title>Test</title>
    </head>
    <body>
        <div id="juicebox-container"></div>
    </body>
</html>

I hope this points you in the right direction and that you are able to integrate something similar within your own website.

509

(5 replies, posted in Juicebox-Lite Support)

No, sorry. Thanks for checking in but I'm afraid I have no news at the moment.
I really don't know when the next version will be released (or if the rotation bug will be addressed for the next version).
All I can say with any certainty is that the bug has been officially logged and the developers are aware of it.
Sorry I don't have any better news just now.

510

(1 replies, posted in Juicebox-Pro Support)

Unfortunately, it is not possible to change the thumbnail paging text. It will always show the current thumbnail page number and the total number of thumbnail pages.
However, you can display the current image number and the total number of images by setting showImageNumber="TRUE" (in JuiceboxBuilder-Pro's 'Customize -> Caption' section).
The image number shows up as part of the caption area (at the top right corner) so you'll need to make sure that captionPosition is set to a value other than NONE.
You can see the image number being used in this demo gallery.
(You do not need to display image titles or captions. You can have only the image number in the caption area if you like.)

The most likely cause of unresponsive "New Gallery..." and "Open Gallery..." buttons is a persistent '.tempGallery' folder.

JuiceboxBuilder-Pro creates a temporary folder (named '.tempGallery') whilst a gallery is being created or edited. This folder is automatically deleted on closing JuiceboxBuilder-Pro.

However, if JuiceboxBuilder-Pro is unable to delete the '.tempGallery' folder on closing the application, then the "New Gallery..." and "Open Gallery..." buttons may become unresponsive the next time the program is used.

The most likely cause of a persistent '.tempGallery' folder is the use of an online synced file-sharing folder so we do not recommend saving a gallery to (or opening a gallery from) a folder being synced to an online file-sharing service such as Dropbox or Google Drive.

On a Windows system, the '.tempGallery' folder is located here:

C:\Users\Username\Documents\JuiceboxBuilder-Pro\.tempGallery

With JuiceboxBuilder-Pro closed, please check to see if your own system has a '.tempGallery' folder in this location and, if so, manually delete it before re-opening JuiceboxBuidler-Pro.

Also, try completely disabling any third-party security software that you might have installed (e.g. Avast or AVG), including real-time protection and ransomware detection in case this may somehow be interfering with JuiceboxBuilder-Pro's functionality.
(Please do so at your own risk and be sure to disconnect from the internet first.)

Finally, I know that you say that you have already tried reinstalling JuiceboxBuilder-Pro but it might help to try the complete uninstall/reinstall procedure from this forum thread (Suggestion #11).

I hope this helps.

512

(9 replies, posted in Juicebox-Pro Support)

I'm glad that adding the empty <a> tag seems to have worked. Thank you for letting me know.
Thanks, also, for the link to your website. I see now why you wanted a scrolling caption area!

Having seen your web page (and knowing that you have no content other than the gallery itself on the page), another possible workaround occurred to me.
You could perhaps have increased the maxCaptionHeight (to accommodate the largest of your captions) and then set the galleryHeight to be a (large) fixed pixel value (instead of 100%). You'd then have had a scrolling web page instead of a scrolling caption area. The gallery would not dynamically resize to fit within the browser window but it would allow images to be displayed larger.

Of course, you might prefer things as they are (and I quite like things as they are myself).
I just thought I'd mention it in case it's something that you hadn't considered.

In any case, I'll mark this thread as [SOLVED] as requested.

513

(9 replies, posted in Juicebox-Pro Support)

Thank you for the additional information.
There was a bug in older versions of Juicebox-Pro (fixed in Juicebox-Pro v1.4.0) whereby links in image titles and captions were not clickable).
It's just a hunch but this could be connected to the scrolling issue. It seems that image titles and caption might actually require a link in them for the caption area to be scrollable.
Whatever Juicebox-Pro does behind the scenes when a link is detected within an image title or caption might also need to be done to allow the caption area to become scrollable and the easiest way to achieve this for an image title or caption which does not already contain a link is simply to add one (e.g. a blank one such as <a href="#"></a>).
Adding an empty HTML <a> tag to an image title or caption is certainly something worth trying.
You'll still need to use the following CSS as well, though:

.jb-caption {
    overflow: auto !important;
}

514

(9 replies, posted in Juicebox-Pro Support)

The reason why the caption area does not scroll when the gallery is viewed on mobile devices may be due to the fact that when the gallery is displayed in Small Screen Mode, the caption area is always overlaid on top the image.
There are already touch gestures associated with the gallery (tapping to toggle captions on and off and swiping to navigate between images) so these might somehow be interfering with the scrolling action.
Also, there may be issues with stacking (making sure that the caption area is stacked on top of all gallery elements, including navigation hit areas, so that the container is scrollable).

Unfortunately, I've not found a solution which works on mobile devices (I've tried a lot of CSS on a lot of different classes without success) and I expect that it might be quite difficult to implement (which might be why Juicebox-Pro was not designed with a scrollable caption area).

The only thing I can suggest is more of a workaround.
If your text is only just being truncated by a small amount, then you might like to consider reducing the font size of your image titles and/or captions so that more text fits into the caption area.

There are no configuration options available within JuiceboxBuilder-Pro to change the font size of image titles and captions but you can style individual image titles and captions (for example, to change the font size) using HTML formatting as noted in this FAQ:
How do I add HTML formatting to image captions and titles?

A sample caption with a font size of 12px (for example) would look like this:

<span style="font-size: 12px;">Image caption text goes here.</span>

In the gallery's XML configuration file, the caption would look like this:

<caption><![CDATA[<span style="font-size: 12px;">Image caption text goes here.</span>]]></caption>

... but JuiceboxBuilder-Pro will automatically add the <caption> and CDATA tags so you only need to enter the <span> tag (as above) into JuiceboxBuilder-Pro.
(You can do likewise for image titles.)

Otherwise, you can set the size of all image titles and/or captions at once using CSS such as the following (changing the numeric values as appropriate):

/* IMAGE TITLE */
.jb-caption .jb-caption-title {
    font-size: 20px !important;
}

/* IMAGE CAPTION */
.jb-caption .jb-caption-desc {
    font-size: 18px !important;
}

/* IMAGE NUMBER */
.jb-cap-frame .jbac-number {
    font-size: 12px !important;
}

As with my previous CSS suggestion, you can add this CSS to the end of your gallery's 'jbcore/classic/theme.css' file or wrap it in <style> ... </style> tags and add it to your gallery web page's <head> section.

I realise that this does not directly resolve your problem but I hope that it is a suitable compromise.

515

(9 replies, posted in Juicebox-Pro Support)

For a vertically-scrolling caption area, try adding the following CSS to the end of your gallery's 'jbcore/classic/theme.css' file (or to the <head> section of your gallery's web page within <style> ... </style> tags).

.jb-caption {
    overflow: auto !important;
}

Otherwise, you could use the Juicebox-Pro API (specifically the getImageInfo() method) to fetch the currently-displayed image's title and caption and then use JavaScript to display the text elsewhere on your gallery's web page (outside the gallery).
Here's a basic example which displays the image title and caption in a container below the gallery.
To see the example 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="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 jb = new juicebox({
                containerId: "juicebox-container",
                galleryHeight: "400",
                galleryWidth: "600"
            });
            jb.onImageChange = function(e) {
                var index = e.id;
                var info = jb.getImageInfo(index);
                var title = info.title;
                var caption = info.caption;
                $('#text').html('<p>' + title + '</p><p>' + caption + '</p>');
            };
        </script>
        <title>Test</title>
    </head>
    <body>
        <div id="juicebox-container"></div>
        <div id="text"></div>
    </body>
</html>

I hope these suggestions help and point you in the right direction.

I'm glad you've got it working.
Thank you for letting me know. It's most appreciated!

I see the problem...

The gallery on a page of its own is a Juicebox-Pro gallery but the gallery embedded in your web page is a Juicebox-Lite gallery (signified by the Juicebox logo in the lower right corner of the gallery) which does not support Pro configuration options such as randomizeImages and the autoPlay options.

All you need to do is swap the Lite 'jbcore' folder here: http://www.kb2mxv.com/jbcore
... with the Pro version from the Juicebox-Pro download zip package ('juicebox_pro_1.5.1/web/jbcore') or from any gallery created with JuiceboxBuidler-Pro.

As soon as the Pro 'jbcore' folder is in place, all the gallery's Pro options will instantly become active.

518

(2 replies, posted in Juicebox-Pro Support)

I'm glad that you've been able to resolve your problem. Thank you for posting back to let me know. It's most appreciated!

To answer your other question (from your PDF file)...

On Mobile the Gallery Title disappears?

When a Juicebox gallery is displayed in Small Screen Mode (e.g. when screenMode="AUTO" and the gallery is viewed on a mobile device or when screenMode="SMALL"), the Gallery Title is displayed on the thumbnail page (above the thumbnails) rather than on the main image pages.
More information about Screen Modes can be found in the Gallery Tour here.

Incidentally, your gallery's web page has a few HTML errors (including incorrect positioning of <head> and <body> tags) which should ideally be fixed.
Each browser will have its own way of dealing with HTML errors (some may be more tolerant towards HTML errors than others) and this may result in inconsistencies in how different browsers render your web page.
I'd recommend that you check your web page for errors using the online W3C Markup Validation service and then fix the errors reported.
Once the HTML code on your web page validates correctly, it should be displayed with greater consistency and predictability across different browsers.

519

(1 replies, posted in Juicebox-Pro Support)

There is only one thumbnail frame color configuration option (thumbFrameColor) which is used for both a rolled-over thumbnail and a selected thumbnail.
You can distinguish between a selected thumbnail and a rolled-over thumbnail using frame widths:

thumbFrameWidth (for a regular thumbnail)
thumbHoverFrameWidth (for a rolled-over thumbnail)
thumbSelectedFrameWidth (for a selected  thumbnail)

All of these options can be found in JuiceboxBuilder-Pro's 'Customize -> Thumbnails' section.

If you really want to change the frame color of a selected thumbnail, then you'd need to do so using CSS.
Try adding the following CSS to the <head> section of your gallery's web page (changing the actual color value as required):

<style>
    .jb-thm-thumb-selected .jb-idx-thb-frame {
        border-color: #ff0000 !important;
    }
</style>

Alternatively, you could add this CSS to the bottom of your gallery's 'jbcore/classic/theme.css' file (without the <style> ... </style> tags).

I hope this helps.

520

(3 replies, posted in Juicebox-Pro Support)

Thank you for the update. I'll mark this thread as [SOLVED].

Just for the record, when manually entering values for color configuration options, Juicebox accepts 3-digit hex values (#rgb) and 6-digit hex values (#rrggbb), both with or without a leading hash, and rgba notation (rgba(r,g,b,a)) if you want to use transparency.
Unfortunately, Juicebox does not yet support 8-digit hex values (#rrggbbaa) although I've notified the developers of this and it may be considered for a future version.

521

(3 replies, posted in Juicebox-Pro Support)

The thumbnail frame color is set via the thumbFrameColor configuration option which can be found in JuiceboxBuilder-Pro's 'Customize -> Lite' section.

If editing a gallery's 'config.xml' file manually, then the value for thumbFrameColor can be in hexadecimal or rgba notation. (JuiceboxBuilder-Pro uses rgba notation as it supports the alpha channel for transparency.)
For example, for a solid red color, you could use either:

thumbFrameColor="#ff0000"

... or:

thumbFrameColor="rgba(255,0,0,1)"

If you do not see the change in color immediately after editing your gallery's 'config.xml' file, then please try completely clearing your browser's cache to ensure that your browser is fetching the most recent version of your gallery's 'config.xml' file (rather than an older, cached version).

Also, please note that thumbFrameColor is a Large Screen Mode configuration option which is not used when the gallery is displayed in Small Screen Mode (usually on mobile devices).
This is noted in the short description for thumbFrameColor in the Lite Options section of the Config Options page.

I hope this helps.
However, if you continue to experience difficulties, then please post back with the URL to your gallery's web page so that I can see the problem for myself.
Once I'm able to see the gallery live on your web server, I should hopefully be able to determine the exact cause of the problem and propose a solution.
Thank you.

522

(3 replies, posted in Juicebox-Pro Support)

That's great! Thank you for letting me know.

523

(3 replies, posted in Juicebox-Pro Support)

If you just need to determine the index of the image currently being displayed, then you can do so using the Juicebox-Pro API (specifically the onImageChange() event).
Here's an example which displays an alert box each time a new image is selected displaying the current image index. (You can use the value (e.id) as you like.)

//create a gallery instance
var jb = new juicebox({
    containerid:'juicebox-container'
});
//then set up an event listener
jb.onImageChange = function(e){
    alert("Image changed. Image index: " + e.id);
};

If you really want to fetch the hash from the URL, then try the following:

//create a gallery instance
var jb = new juicebox({
    containerid:'juicebox-container'
});
//then set up an event listener
jb.onImageChange = function(e){
    alert("Image changed. Image index: " + window.location.hash);
};

I hope this helps.

524

(4 replies, posted in Juicebox-Pro Support)

The latest version of WP-Juicebox (v1.5.1.2) now includes interface options to easily display or hide image titles and captions.

Just select (or deselect) the "Display Image Titles" and "Display Image Captions" checkboxes in the gallery settings window to display (or hide) the image titles and captions. (These new checkboxes are selected by default.)

WP-Juicebox can be downloaded from its own support page here.

525

(4 replies, posted in Juicebox-Pro Support)

The latest version of WP-Juicebox (v1.5.1.2) now includes interface options to easily display or hide image titles and captions.

Just select (or deselect) the "Display Image Titles" and "Display Image Captions" checkboxes in the gallery settings window to display (or hide) the image titles and captions. (These new checkboxes are selected by default.)

WP-Juicebox can be downloaded from its own support page here.