I'm glad that you've found what you were looking for.
Thank you for letting me know.

For others reading this thread and wanting to know more about Screen Modes (Large vs Small) and how Juicebox adapts to different devices and screen sizes, please see the Gallery Tour here.

You're welcome!
I hope you get OK on. Just let me know if you run into any difficulties and I'll do my best to help you out.

728

(3 replies, posted in Juicebox-Pro Support)

You're welcome!
It's an unfortunate turn of events but, thankfully, not an insurmountable problem.

Galleries created by WP-Juicebox do not use static 'config.xml' files.
All XML data is generated dynamically on-the-fly at the time the gallery is displayed/viewed (so there are no XML files that you can edit manually).
WP-Juicebox generates XML data dynamically to prevent galleries from having to be rebuilt (via a separate user-driven action) when images are added to pages/posts or when image properties (such as titles) are changed.
This behavior is also in keeping with WordPress itself where content is generated dynamically.

As an alternative to using WP-Juicebox, you could create a gallery with JuiceboxBuilder-Pro (so that you have a regular gallery with a 'config.xml' file that you can edit inb a plain text editor) and then embed it into ypour WordPress page/post manually using the baseUrl method of embedding documented here.

(1) Enter your gallery's baseUrl embedding code into a 'Formatting -> Custom HTML' Gutenberg block.

(2) Upload your complete gallery folder to your root directory and use a leading slash in your embedding code paths to denote your root directory. This should work with any permalink structure. For example:

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

I hope this helps.

730

(3 replies, posted in Juicebox-Pro Support)

Unfortunately, Firefox 68.0 (released yesterday, 9 July 2019) has introduced a new security restriction which blocks the loading of Juicebox galleries locally (from your computer's hard drive). (There is no problem once the gallery has been uploaded to a web server.)

Here is the relevant entry from the Firefox 68.0 Release Notes: https://www.mozilla.org/en-US/firefox/6 … easenotes/

Local files can no longer access other files in the same directory.

Here are the steps required to relax this security restriction:
(1) Enter about:config in your Firefox browser's address bar.
(2) Click past the warning via the "I accept the risk!" button.
(3) Enter privacy.file_unique_origin in the search bar.
(4) Double-click the Preference Name to change the Value from 'true' to 'false'.

***Please do so at your own risk*** (although it should be no more of a risk than running the previous version of Firefox (67.0.4)).

I hope this helps.

731

(3 replies, posted in Juicebox-Lite Support)

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

732

(3 replies, posted in Juicebox-Pro Support)

You're welcome!
I hope my notes help. (I realise that there is a lot to consider!)

733

(3 replies, posted in Juicebox-Lite Support)

After adding the images to your gallery in the media upload window, I expect that you are probably clicking the 'Insert into post' or 'Create a new gallery' button. This will display the images directly within your WordPress page or post (in addition to attaching the images to the page or post, which is all that is required to add the images to your Juicebox gallery).
(Incidentally, the 'Create a new gallery' button refers to a WordPress gallery and this is unconnected to WP-Juicebox.)

The key is to simply close the media window (via the cross in the top right corner) after the images have finished uploading.
(This is noted in the 'Adding Images From WordPress Media Library' section in the WP-Juicebox support page.)
As soon as the images have finished uploading, they will be attached to the page or post and will be displayed in your Juicebox gallery.

I hope this helps.

734

(3 replies, posted in Juicebox-Pro Support)

There's no automated way to ensure that an automated slide show matches the length of an audio track but you can adjust the length of time an image is displayed for (before transitioning to the next one) via the displayTime configuration option (in JuiceboxBuilder-Pro's 'Customize -> AutoPlay' section) and the time it takes for one image to transition to another via the imageTransitionTime option ('Customize -> Main Image').
You should hopefully be able to change the length of time your slideshow plays for with these options.

Here are a couple of tips for anyone looking to do this...

(1) Just in case your slideshow time does not exactly match the length of the audio track, you might like to enable audio looping (so that the audio track starts again after finishing) by setting loopAudio="TRUE" ('Customize -> Audio').

(2) If you want to prevent the user from interrupting the flow of the slideshow (for example, by manual navigation to an image) or pausing the audio track (which would break the synchronization of the AutoPlay and Audio), then you will need to:

  • Set AutoPlay and Audio to start on load: autoPlayOnLoad="TRUE", playAudioOnLoad="TRUE"

  • Disable keyboard controls: enableKeyboardControls: "FALSE"

  • Hide AutoPlay, Audio and navigation buttons from the Button Bar: showAudioButton="FALSE", showAutoPlayButton="FALSE", showImageNav="NEVER", showNavButtons="FALSE" (or just hide the entire Button Bar by setting buttonBarPosition="NONE")

  • Prevent thumbnails from being displayed: showThumbsButton="FALSE", showThumbsOnLoad="FALSE"

  • Disable image click functionality: imageClickMode="NONE"

Important Note:
Unfortunately, very recently, desktop browsers have started to block the autoplay of audio (and video).
Firefox, from version 66 onwards, now blocks the autoplay of audio (and a click is required from the user to start the audio).
Likewise, recent versions of Chrome, Opera and Safari also now block the autoplay of audio.
playAudioOnLoad continues to work only in Edge and Internet Explorer 11.

Here are the release notes for Firefox 66 where this change of behavior was first noted: https://www.mozilla.org/en-US/firefox/6 … easenotes/

I have contacted the developers to let them know of this and a note regarding this change should be added to our online support documentation in the next website refresh.

Unfortunately, there is nothing that can be done from within Juicebox to override this new browser functionality.
If a user want to allow the autoplay of audio in a browser, then the browser's settings need to be changed by the user.
Please see this web page for more information regarding Chrome, Firefox and Safari.
Chrome: https://developers.google.com/web/updat … cy-changes
Firefox: https://support.mozilla.org/en-US/kb/block-autoplay
Safari: https://webkit.org/blog/7734/auto-play- … for-macos/

As unfortunate as it is, there is nothing that can be done from within Juicebox to force audio to autoplay in modern browsers any more.

This is just a short note to let you know that this is a support forum for the Juicebox-Pro web gallery software from SimpleViewer Inc.

From your post above, it sounds like you are referring to a 'JuiceBox' from eMotorWerks, a completely unrelated company to our own (although the product names are the same).

I do not know if they have a forum but anyone who needs to contact eMotorWerks directly for support should be able to do so via their online form here: https://emotorwerks.com/contact

736

(3 replies, posted in Juicebox-Pro Support)

That fixed the problem.

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

If anyone has an iPhone to test it on I'd appreciate it.

I don't have an iPhone but I have an iPod Touch 6 running iOS 12.3.1.
If you like, let me know the URL of the web page you'd like me to check and I can post a screenshot in this thread to let you see what I see in Mobile Safari.

737

(3 replies, posted in Juicebox-Pro Support)

In order for the Back Button to be visible on mobile devices (when Juicebox-Pro displays the gallery in Small Screen Mode), you'll need to set showSmallBackButton="TRUE" (in JuiceboxBuilder-Pro's 'Customize -> Back Button' section).
This should hopefully resolve your problem.

(Please note that the Back Button is displayed only on main image pages and not on thumbnail pages in Small Screen Mode.)

738

(3 replies, posted in Juicebox-Pro Support)

If you'd like your Audio Button to stand out from the other icons on the Button Bar, you could color it differently by using CSS such as the following. (This example will color the Audio Button red.)

.jb-bb-button.jb-bb-btn-audio {
    color: #ff0000;
}

Put this CSS code at the foot of your gallery's 'jbcore/classic/theme.css' file. (If you put the code in the gallery's embedding page, then the Audio Button will not be colored if/when the gallery is expanded in a new page (for example, on iOS devices).)

This might at least attract some attention and users will hover over the button where they will then see the rollover tooltip text  "Play Audio". If you like, you can change this tooltip text via the languageList configuration option. Please see the International Gallery Text support section for details. (The languageList option was intended for translating the on-screen text into different languages but you can use it to change the messages to whatever you like.)

If you want to actually change the Audio Button icon itself, then this is also possible (but more difficult).
Please check out the Using Custom Icons support section in the Theming Guide for details.

Alternatively, you could create your own Audio Button and place it alongside the gallery on the embedding page.
You would need to use the Juicebox-Pro API (specifically the toggleAudio() method) and knowledge of JavaScript would be required.
Take a look at the Juicebox-Pro API demo gallery here. You'll see that there is a 'Toggle Audio' button to the left of the gallery. You could do something similar for your own gallery's web page. (Check out the source of the demo in your browser to see how it is done.)
Your custom Audio Button does not need to be an HTML button, though. You could make any HTML element (e.g. text or an image) clickable and act like a button.

I hope this gives you some ideas as to how you could make your Audio Button more prominent now that autoplay is becoming less likely to happen (depending on the user's browser).

739

(3 replies, posted in Juicebox-Pro Support)

Unfortunately, very recently, desktop browsers have started to block the autoplay of audio (and video).
Firefox, from version 66 onwards, now blocks the autoplay of audio (and a click is required from the user to start the audio).
Likewise, recent versions of Chrome, Opera and Safari also now block the autoplay of audio.
playAudioOnLoad continues to work only in Edge and Internet Explorer 11.

Here are the release notes for Firefox 66 where this change of behavior was first noted: https://www.mozilla.org/en-US/firefox/6 … easenotes/

I have contacted the developers to let them know of this and a note regarding this change should be added to our online support documentation in the next website refresh.

Unfortunately, there is nothing that can be done from within Juicebox to override this new browser functionality.
If a user want to allow the autoplay of audio in a browser, then the browser's settings need to be changed by the user.
Please see this web page for more information regarding Chrome, Firefox and Safari.
Chrome: https://developers.google.com/web/updat … cy-changes
Firefox: https://support.mozilla.org/en-US/kb/block-autoplay
Safari: https://webkit.org/blog/7734/auto-play- … for-macos/

As unfortunate as it is, there is nothing that can be done from within Juicebox to force audio to autoplay in modern browsers any more.

I realise that this may not be the answer that you were looking for but I hope that my notes above at least explain what you have recently been experiencing.

740

(5 replies, posted in Juicebox-Pro Support)

That's great!
I'm glad you've got it working.

741

(5 replies, posted in Juicebox-Pro Support)

If you are not manually embedding your gallery into an existing web page alongside other content, then you are likely using the 'index.html' web page which is generated by JuiceboxBuilder-Pro (or the Juicebox Plugin for Lightroom).
The gallery's embedding code can be found inside this 'index.html' file (and you can open the 'index.html' file in a plain text editor to view and/or modify the gallery's embedding code).

As an example, open your https://www.roatan.photos/video-slideshows/flowers/blooming/index.html file in a plain text editor and scroll down to line 24 and you'll find the following <script> ... </script> section:

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

It is this section of code that you should replace with one of the suggested code samples from my post above.
I've added your custom background color and gallery dimensions to the code samples above so you can just do a quick copy and paste without too many modifications. Just change the URL that you want to open when the last image has been reached in the following line of code:

window.location.href = 'http://www.example.com'; line.

So basically, just replace the code between the <script src="jbcore/juicebox.js"></script> tag and the opening <div id="juicebox-container"> tag in the gallery's 'index.html' file with one of the code samples above.

742

(5 replies, posted in Juicebox-Pro Support)

This is not something that Juicebox was designed to do but it should be possible with help from the Juicebox-Pro API.

You'll need to edit your gallery's embedding code, though.
There are no configuration options which you can set to make this happen.

If you want to redirect the user to a custom web page when the last image in the gallery has been reached, then try something like this:

<script type="text/javascript">
    var jb = new juicebox({
        backgroundColor: "rgba(0,0,0,1)",
        containerId: "juicebox-container",
        galleryHeight: "100%",
        galleryWidth: "100%"
    });
    jb.onInitComplete = function() {
        var imageCount = jb.getImageCount();
        jb.onImageChange = function(e) {
            if (e.id === imageCount) {
                window.location.href = 'http://www.example.com';
            }
        };
    };
</script>

If you want to introduce a delay (so that the last image can be seen for a set amount of time before the redirection happens), then try the following, changing the delay time of 5s (500ms) to whatever you like:

<script type="text/javascript">
    var jb = new juicebox({
        backgroundColor: "rgba(0,0,0,1)",
        containerId: "juicebox-container",
        galleryHeight: "100%",
        galleryWidth: "100%"
    });
    jb.onInitComplete = function() {
        var imageCount = jb.getImageCount();
        jb.onImageChange = function(e) {
            if (e.id === imageCount) {
                window.setTimeout(function() {
                    window.location.href = 'http://www.example.com';
                }, 5000);
            }
        };
    };
</script>

If you want the redirection to happen only when the last image has been reached via AutoPlay (and not by user navigation), then try the following, which also includes the delay:

<script type="text/javascript">
    var jb = new juicebox({
        backgroundColor: "rgba(0,0,0,1)",
        containerId: "juicebox-container",
        galleryHeight: "100%",
        galleryWidth: "100%"
    });
    jb.onInitComplete = function() {
        var imageCount = jb.getImageCount();
        jb.onImageChange = function(e) {
            if (e.id === imageCount && $('.jb-bb-btn-auto-play').first().hasClass('jb-status-playing')) {
                window.setTimeout(function() {
                    window.location.href = 'http://www.example.com';
                }, 5000);
            }
        };
    };
</script>

I hope this helps and points you in the right direction.

743

(5 replies, posted in Juicebox-Pro Support)

You're welcome!
It's a shame that there isn't a quick and easy solution to overcome the image share limitation but I hope that you've at least got things working within the design specifications.

744

(5 replies, posted in Juicebox-Pro Support)

- why Juicebox Lightroom plugin has created a relative path and not an absolute one?

In order for both JuiceboxBuilder-Pro and the Juicebox Plugin for Lightroom to generate an absolute path for the og:image entry, it is necessary to complete the Share URLcorrectly (in both applications).
Both applications generate an absolute path by concatenating the Share URL and the path to the first image in the gallery.
The only difference between JuiceboxBuilder-Pro and the Juicebox Plugin for Lightroom in this respect is that, in JuiceboxBuilder-Pro, the og:image entry is left empty if the Share URL is empty whereas the Juicebox Plugin for Lightroom still outputs the path to the first image even if the Share URL is empty.
The end result is the same in both cases, though: the Share URL must be completed correctly (in both applications) for the Facebook share window to display the image.

- Facebook is going to display the same image for all the photos in the gallery, not the specific photo shared. Or am I wrong?

That is correct. This is just how Facebook works (by using the web page's Open Graph og:image entry for all shared links on the page).
It is not possible (at least not easily) to have the shared image's thumbnail displayed in the pop-up Facebook share window due to limitations imposed by Facebook on what data can be passed via their share URL. Only one thumbnail image can be used per web page. However, the shared link itself will still point towards the correct image within your gallery.

You can think of the og:image as being representative of the gallery as a whole so you could use an image which best represents your gallery.
The og:image does not need to be an image from the gallery itself. You can edit the gallery's 'index.html' in a plain text editor to change the og:image path. (Just make sure that the path you use is an absolute one.)

Just in case you are thinking of delving much deeper into this, the only user I know of who seems to have managed to overcome this restriction is sly from this thread.
His solution seems to be included within a rather complex custom JavaScript file (check out the 'jcaddon.js' file on his gallery pages) which overrides some of Juicebox-Pro's own sharing functionality and, therefore, is not officially supported.
(As such, I have not tested his solution myself and I cannot be sure that it will work across all platforms and in all browsers.)
However, I hope this points you in the right direction.

745

(10 replies, posted in Juicebox-Pro Support)

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

746

(5 replies, posted in Juicebox-Pro Support)

You og:image meta tag (in your gallery's 'index.html' file) is currently:

<meta property="og:image" content="/images/or_2011_05_0022.jpg" />

Facebook requires that the og:image path be an absolute path (rather than a relative path).

There are a couple of ways to fix this.

(1) Open your gallery in JuiceboxBuilder-Pro, go to the 'Customize -> Sharing' section, and enter the absolute path to the directory containing your 'images' folder in the 'Share Url' input box i.e.:

http://pascalriben.com/About Color/

Now re-save your gallery on the 'Publish' tab.
JuiceboxBuilder-Pro will use the 'Share Url' at the beginning of the og:image path and will append the path to the first image in the gallery after it.

... or:

(2) Open your gallery's 'index.html' file in a plain text editor and replace:

<meta property="og:image" content="/images/or_2011_05_0022.jpg" />

... with:

<meta property="og:image" content="http://pascalriben.com/About Color/images/or_2011_05_0022.jpg" />

(You can use the absolute path to whatever image you like.)

If, after making this change, you still do not see the image in the Facebook share window, then you might need to run your gallery's web page URL through Facebook's online debuggers to instruct Facebook to fetch new scrape information (including the og:image path) from your page.
(1) Facebook's Sharing Debugger: https://developers.facebook.com/tools/debug/sharing/
(2) Facebook's Batch Invalidator: https://developers.facebook.com/tools/d … ing/batch/
(3) Facebook's Open Graph Object Debugger: https://developers.facebook.com/tools/debug/og/object/
(Click the 'Fetch new scrape information' button.)

This should hopefully resolve your problem.

747

(10 replies, posted in Juicebox-Pro Support)

If you are trying to add a custom caption to just one image using the Juicebox Plugin for Lightroom, then do the following:

(1) Click the 'Library' module tab.
(2) Select the image you want to add the caption to.
(3) In the 'Metadata' section, add the following to the 'Caption' box (changing the link and/or text as appropriate):

<a href="https://www.roatan.photos/credits.html">Click here to go to 'credits' page.</a>

(4) Click the 'Web' module tab.
(5) Select 'Juicebox-Pro' as the 'Layout Style'.
(6) Scroll down to the 'Image Info' section and make sure that the 'Caption' is set to {Caption»}. (This is the default value so you should not need to change anything.)
(7) Save your gallery to your hard drive via the 'Export...' button.

Step #3 embeds the caption as the IPTC Caption within the image.
Step #6 uses each image's IPTC Caption as the gallery's image caption. (Images without an IPTC caption will simply have a blank/empty caption.)

Alternatively, you could either:

(1) Open your gallery in JuiceboxBuilder-Pro (after creating it in Lightroom), click the appropriate thumbnail on the 'Images' tab and enter the caption (below) in the 'Caption' input box before re-saving the gallery on the 'Publish' tab.

<a href="https://www.roatan.photos/credits.html">Click here to go to 'credits' page.</a>

... or:

(2) Edit your gallery's 'config.xml' file in a plain text editor (again, after creating it in Lightroom) and replace the image's <caption> tag manually, e.g.:

<caption><![CDATA[<a href="https://www.roatan.photos/credits.html">Click here to go to 'credits' page.</a>]]></caption>

I hope my notes above help.

No worries!
I'm just glad to hear that your problems have been resolved.
Thank you for letting me know.

749

(10 replies, posted in Juicebox-Pro Support)

In order for captions to be visible, you'll need to set captionPosition to something other than NONE (in JuiceboxBuilder-Pro's 'Customize -> Caption' section).

If you do not want a separate area to be reserved for captions within your gallery (which would be empty for images with no caption text), then set captionPosition to either OVERLAY (where the caption area will overlay the bottom of the gallery's image area, spanning the width of the entire stage) or OVERLAY_IMAGE (where the caption area will overlay the bottom of the main image, spanning only the width of the main image itself).

Also, if you want the caption area to always be visible (rather than autohide after a set period of inactivity determined by the value of the inactivityTimeout configuration option), then set showImageOverlay to ALWAYS (in JuiceboxBuilder-Pro's 'Customize -> Main Image' section).

Quote:

<caption><![CDATA[roanphotos-flowersphotos-begln1ima<a href="https://www.roatan.photos/child.html" target="_blank" imageClickMode="OPEN_URL>geClickMode="OPEN_URL]]></caption>

Your captions are malformed.
Each <a> tag needs to have a closing </a> tag (after the text which is to be used as the link).
For example:

<a href="http://www.example.com">Link text goes here</a>

Also, imageClickMode="OPEN_URL" is a Juicebox-Pro configuration option (which can be set in JuiceboxBuilder-Pro's 'Customize -> Main Image' section) rather than an attribute for an HTML <a> tag.
(If you want to set imageClickMode="OPEN_URL" manually by editing your gallery's 'config.xml' file in a plain text editor, then you should add the configuration option as an attribute to the opening <juiceboxgallery> tag alongside the other configuration options).

Here's a sample caption that you could add to an image on JuiceboxBuilder-Pro's 'Images' tab which would display some sample text with only the word 'here' being a clickable link.

Click <a href="http://www.example.com">here</a> to go to another web page.

I hope this helps.

That's OK.
Leaving the post up might help others with similar problems.