I'm glad it worked! Thank you for letting me know.

Is there a particular size I should crop an image to, for it to definitely fit?

The custom CSS is affecting the position of the image within the Splash Page container and the only way to counteract this is with CSS. The custom CSS will be applied to whatever image you choose to use for the Splash Page, no matter what shape or size it is.
Additionally, if your gallery is responsive, then the aspect ratio of the Splash Page will be dependent on the dimensions of the browser viewport being used to view the gallery so you have no way of knowing what shape and size the Splash Page will actually be for any given user (so there is no ideal size to use for the Splash Page image).

The quickest and easiest solution to the problem is to ensure that the max-width: 100% !important; CSS rule is not applied to the Splash Page image by removing the !important declaration from the rule. (This will likely not adversely affect other images on your web page at all.)

However, if you do not want to change the Jetpack CSS, then you'll need to change the Juicebox CSS instead.
Open the plugin's 'wp-juicebox/jbcore/classic/theme.css' file in a plain text editor.
Search for max-width: none; and replace all instances (there are four) to max-width: none !important.
In the current version of Juicebox-Pro (v1.5.1), they are on lines 119, 197, 247 and 696.

Otherwise, you could just add the following to the end of the 'theme.css' file:

.juicebox-gallery img, .jb-idx-thb-list .jb-idx-thumb img, .jb-dt-main-frame img, .jb-idx-thumbnail-container .jb-splash-holder img {
    max-width: none !important;
}

As the 'theme.css' file is loaded in your web page after the 'style.css' file, the !important declarations in the 'theme.css' file will override the !important declaration in the 'style.css' file

I hope this make sense and helps you to resolve your problem.

The "Front" of the gallery that you describe is the Splash Page which is displayed by default on small screen devices when the gallery is embedded in a web page alongside other content.
When the Splash Page is tapped, the gallery is expanded to fill the browser viewport (giving the images more room to be displayed).
Please see the Screen Modes section of the Gallery Tour for more information on the Splash Page.

By default, the Splash Page uses the first image in the gallery.
In your case, the image is offset (and not filling the Splash Page container as expected) because of some custom CSS on your gallery's embedding page.
On line 665 of your 'style.css' file ('/wordpress/wp-content/plugins/jetpack/modules/minileven/theme/pub/minileven/style.css') is the following code:

/* Images */
.entry-content img,
.comment-content img,
.widget img {
    height: auto;
    max-width: 100% !important; /* Fluid images for posts, comments, and widgets */
}

The max-width CSS rule is being applied to all images (all HTML <img> tags) within the specified CSS classes and this includes the Splash Page image. The Splash Page image has no option but to inherit this custom CSS rule.
Removing the !important declaration from the end of this custom CSS rule should be enough to reposition the Splash Page image correctly but, if other images on your web page require the !important declaration , then the best course of action would be to apply the max-width CSS rule to only those images on your web pages that require it through use of further CSS selectors (ids or classes).

Incidentally, you can choose to not use the Splash Page if you like by setting showSplashPage="NEVER".
If you continue to use the Splash Page (recommended for small screen devices), then you can configure the Splash Page (for example by choosing a specific image to be used) via the Splash Page configuration options.

I hope this helps.

729

(6 replies, posted in Juicebox-Pro Support)

Thanks for the quick response! Yes, that worked great.

You're welcome! I'm glad it worked. Thank you for letting me know.

Would you consider adding control over this directly in the interface?

Please post suggestions for future versions in the Feature Requests forum thread. (You can post suggestions for Juicebox and all official plugins written by ourselves there.)
This keeps all the requests together and ensures that they will not be overlooked by the developers.
I do not know the likelihood of any ideas being implemented in future versions but this is certainly the best place for all ideas.
Thank you!

730

(6 replies, posted in Juicebox-Pro Support)

There is no interface control to prevent the ALT tags from being used as image titles but you can disable them with a quick edit to the plugin's 'wp-juicebox.php' file.
Open the 'wp-juicebox/wp-juicebox.php' file in a plain text editor and comment out (or remove) lines 977 to 983 inclusive.
Just change:

$title_element = $dom_doc->createElement('title');
$image_title = $attachment->alttext;
$image_title = $this->line_break($image_title);
$image_title = $this->strip_control_characters($image_title);
$title_text = $dom_doc->createCDATASection($image_title);
$title_element->appendChild($title_text);
$image_element->appendChild($title_element);

... to:

// $title_element = $dom_doc->createElement('title');
// $image_title = $attachment->alttext;
// $image_title = $this->line_break($image_title);
// $image_title = $this->strip_control_characters($image_title);
// $title_text = $dom_doc->createCDATASection($image_title);
// $title_element->appendChild($title_text);
// $image_element->appendChild($title_element);

The leading // comments out a line and it will just be ignored rather than parsed and executed.

(The descriptions will still be used as the image captions.)

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

731

(1 replies, posted in Juicebox-Pro Support)

No. Unfortunately, there is no Juicebox plugin for darktable.
All known plugins for Juicebox are listed here.

732

(3 replies, posted in Juicebox-Pro Support)

The default value for showDownloadButton is actually FALSE (i.e. if you do not explicitly set showDownloadButton="TRUE", then the Download Button will not be displayed in the gallery's Button Bar).

The default value for showOpenButton is TRUE but you can disable the Open Image Button by setting showOpenButton="FALSE". (You can set showDownloadButton="FALSE" too, if you like, just to be sure that the Download Button will not be displayed.)

For reference, a list of all configuration options and their default values can be found on the Config Options page.

If you continue to experience difficulties, then please post a link to your gallery's web page so that I can see the gallery for myself. Please let me know what you see and what you expect to see and I'll do my best to help you out.
Please also confirm whether or not you are using the Juicebox Module for Drupal. Thank you.

733

(1 replies, posted in Juicebox-Pro Support)

The Juicebox plugin for Lightroom requires Lightroom 4, 5, 6, Classic CC 7 or higher.
This is noted on the plugin's own support page here.
(The plugin will not work with Lightroom CC.)

In late 2017, Adobe split what was then known simply as Lightroom CC into two separate products. Lightroom CC became Lightroom Classic CC (currently on version 8.2.1) and Adobe released a new version of Lightroom under the name Lightroom CC (currently on version 2.2.1).
Unfortunately, the new Lightroom CC does not accept third-party plugins or web engines so it is not possible to use the Juicebox plugin with this version.

There are other ways to create Juicebox galleries, though (you do not need to use Lightroom).
You can use JuiceboxBuilder (the standalone desktop program to create and edit galleries) or the Juicebox Photoshop Template (if you have Photoshop) or you can create a Juicebox gallery manually using the sample 'web' gallery as a template following the Manually Creating a Gallery instructions.

I hope this helps to clarify things.

734

(3 replies, posted in Juicebox-Pro Support)

If you are using the Juicebox Module for Drupal, then first of all, please make sure that you you are using the Juicebox-Pro 'jbcore' folder from the Juicebox-Pro zip package in Step #3 of the installation instructions here.

Afterwards, you should be able to enter Pro configuration options (such as expandInNewPage="TRUE") into the Juicebox Library - Pro / Manual Config section of your Drupal Dashboard (Home -> Administration -> Structure -> Content types -> Article -> Manage Display -> Juicebox settings).

Pro configuration options should be added as text, for example by typing or pasting expandInNewPage="TRUE" in the Juicebox Library - Pro / Manual Config section. (You will not find individual controls for each Pro configuration option within the module's interface.)

Please note that the Juicebox Module for Drupal is an unofficial plugin which was not written by ourselves.
As such, if you are experiencing difficulties with the module and the module's own documentation (found here) does not help, then I would recommend that you post your query in the Drupal forum where the author of the module (Ryan Jacobs) should be able to help you further.
He is active and very helpful in the Drupal forum and has a much better knowledge that I have of both the module and Drupal itself.

Incidentally, an alternative to using the module would be to create a gallery first on your computer using JuiceboxBuilder-Pro and then embed the gallery into your Drupal page using the baseUrl method of embedding following the Embedding in a Drupal Site instructions.

I hope these notes point you in the right direction.

735

(7 replies, posted in Juicebox-Pro Support)

Eg. "Large" = 2048x2048 and I can't choose 2048x1365 (2X3 ratio)?

When using JuiceboxBuidler-Pro to create a gallery and resize images, you can set whatever image dimensions you like (in the 'Set Image Sizes' control panel after clicking the 'Change Sizes...' button on the 'Images' tab).
Please note that these image dimensions are maximum image bounds (rather than the actual dimensions for the resized images).
Images are resized respecting their aspect ratios and the resized images will always be within the maximum image bounds.
However, if your source images are square, then the resized images will also be square.

It seems that the background always be square

The background will always be the same size as the gallery itself.
The gallery dimensions are set via the galleryWidth and galleryHeight configuration options (in JuiceboxBuilder-Pro's 'Customize -> Lite' section) which are set in the embedding code.
galleryWidth and galleryHeight can be fixed pixel values or percentages.
If using a galleryWidth of 100%, for example, then the gallery's actual width will be 100% of the width of the gallery's parent container (so the gallery's actual width will be dependent on other containers and CSS on the embedding page).

I use Drupal and it is probably in the module the size is fixed (image style).

The Juicebox Module for Drupal is an unofficial plugin which was not written by ourselves.
As such, methods of resizing images and setting gallery dimensions will likely be different to how it is done in JuiceboxBuilder-Pro.
If the module's own documentation (found here) does not help, then I'd recommend that you post your query in the Drupal forum where the author of the module (Ryan Jacobs) should be able to help you further.
He is active and very helpful in the Drupal forum and has a much better knowledge that I have of both the module and Drupal itself.

I hope these notes point you in the right direction.

736

(7 replies, posted in Juicebox-Pro Support)

Thank you for the additional information.

From your screenshot, it looks like you may have set imageVAlign="TOP" which aligns the top of the main image with the top of the gallery leaving whatever space remains in the gallery below the main image.
If you want an equal amount of space at the top and bottom of the main image, then set imageVAlign="CENTER" (the default value for this configuration option) in JuiceboxBuilder-Pro's 'Customize -> Main Image' section.

If this does not resolve your problem, then please check the CSS on your gallery's embedding web page to see if you have any custom CSS rules which are affecting the layout of your gallery (for example, any custom CSS rules which apply to all img tags on your web page which the gallery may be inheriting).

I hoe this helps.
However, if you continue to experience difficulties, then please post the URL to your gallery's web page so that I can see the problem for myself and investigate further.
Thank you.

737

(7 replies, posted in Juicebox-Pro Support)

Unfortunately, I'm not exactly sure what you mean.
Maybe you could explain your problem in more detail (let me know what you see and what you expect to see) and, if possible, post screenshots to demonstrate the problem.

In the meantime, maybe my notes below will help.

When using Juicebox-Pro's Background Image Options (found here), you can select the backgroundScale (STRETCH, FILL or NONE) in JuiceboxBuilder-Pro's 'Customize -> Background Image' section but the background image itself does not change (and is not adjusted) which each image within the gallery is viewed.

You can set your gallery's backgroundColor to be transparent (set the Background Color Opacity to '0' in JuiceboxBuilder-Pro's 'Customize -> Lite' section) and whatever CSS background you set in your gallery's embedding web page (whether for the gallery container or the entire web page) will shine through the gallery.
If you wanted to, you could then adjust (or change) the background depending on the image currently being displayed in the gallery (using JavaScript and CSS).

Here is an example which changes the gallery's background color to red for a portrait style image, green for a landscape style image and blue for a perfectly square image. You could modify the JavaScript to alter the background and way you like, for example to completely change or adjust the size of a CSS background image.
To see this example in action, create a sample gallery with JuiceboxBuilder-Pro and use the following 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({
                backgroundColor: "rgba(0, 0, 0, 0)",
                containerId: "juicebox-container"
            });
            jb.onImageChange = function(e) {
                var index = e.id;
                var info = jb.getImageInfo(index);
                var url = info.imageURL;
                var img = new Image();
                img.src = url;
                var imageHeight = img.height;
                var imageWidth = img.width;
                var imageRatio = imageHeight/imageWidth;
                if (imageRatio > 1) {
                    // Image is portrait style
                    $('#juicebox-container').css('background-color', '#ff0000');
                }
                if (imageRatio < 1) {
                    // Image is landscape style
                    $('#juicebox-container').css('background-color', '#00ff00');
                }
                if (imageRatio === 1) {
                    // Image is perfectly square
                    $('#juicebox-container').css('background-color', '#0000ff');
                }
            };
        </script>
        <title>Test</title>
    </head>
    <body>
        <div id="juicebox-container"></div>
    </body>
</html>

I hope this help to clarify things and point you in the right direction.
If not, then please explain your problem in greater detail and I'll try to help further.
Thank you.

738

(3 replies, posted in Juicebox-Pro Support)

I have done what you advice but it did not help.

I'm sorry to hear that my notes did not help.

I have solved it by changing the screenmode to large for this slideshow.

As you are aware of what is happening (visually and via your browser's developer tools), you can at least compensate for it (as you are doing).

It is not only the splashscreen that is to small but the whole small layout.

Thank you for the clarification. When you mentioned the jb-splash-background class, I though that the problem was specifically affecting the Splash Page (vs the gallery container). However, my own tests demonstrated that there was no difference between the gallery itself and the Splash Page (as you have just confirmed) but also that there was no discrepancy between the widths of the containers that you mentioned (unlike your own embedded gallery).

It is very difficult to pinpoint the exact cause of the problem in such a complex web page with so much going on.
If you can construct a minimal test case which exhibits the problem, please post back so that I can investigate further.
Thank you.

739

(3 replies, posted in Juicebox-Pro Support)

I see the difference in widths between the id="box_slideshow" and class="jb-splash-background" containers when I view your gallery in a narrow viewport (< 1024px), changing the user agent string in order to view the Splash Page, but I have been unable to replicate the problem in a test scenario of my own.
I embedded several galleries on a test page (gallery vs Splash Page, with and without a CSS margin being applied to the gallery container, with and without a CSS padding being applied to the gallery container) but do not see any discrepancy in the widths of the id="box_slideshow" and class="jb-splash-background" containers.

I can't quite wrap my head around the problem in your web page as you are using custom embedding code and there is a lot of external CSS to look through with many CSS margin rules (and I do not know how many, if any, are relevant to the problem at a glance).

Please take another look at your code (check all your CSS margin and padding values) to see if you can determine the cause of the problem.
I cannot replicate the problem myself in a stripped back example so the cause may lie somewhere within your code (and you'll certainly have a better understanding of your own web page's code that I do).
I can't be sure that your code is at the root of the problem but, being that I have so far been unable to replicate the problem, it might be worth another look.

Maybe its simply a case of the class="jb-splash-background" container not inheriting custom CSS being applied to the id="box_slideshow" container, in which case, whatever custom CSS you apply to the id="box_slideshow" container, you could also apply directly to the class="jb-splash-background" container. Not an ideal solution, perhaps, but it should t least result in matching widths.

The problem could also be due to the way that custom CSS is being applied.
For example, when setting Juicebox's height to a percentage value, it may be necessary to explicitly set the height of its parent divs via inline CSS (as noted here).
It is just a thought but if you are not already doing so, maybe you could try using inline CSS to apply your margin.

I've checked my browser's developer tools but don't see any obvious custom CSS which is causing the problem so maybe the issue is somehow due to custom CSS being applied via JavaScript.
Again, I'm not sure about this at all, but it might be another avenue to investigate further.

I notice that you use setGallerySize(width: int, height: int) within onInitComplete.
Maybe this is the root of the problem and it would help to calculate the width and height of the gallery before the embedding code and then set the galleryWidth and galleryHeight within the embedding code (instead of afterwards via the Juicebox-Pro API methods).

I hope my notes above help to some degree.

740

(1 replies, posted in Juicebox-Pro Support)

You can use HTML non-breaking spaces (&nbsp;) to separate text by multiple spaces.
For example, to separate the text abc and xyz by three spaces, then you can use an image title or caption such as abc&nbsp;&nbsp;&nbsp;xyz.

You'll need to make sure that your image titles and captions are enclosed within CDATA tags (<![CDATA[ ... ]]>) when using HTML entities such as &nbsp; (to avoid breaking the syntax of the gallery's XML configuration file) but, as long as you use JuiceboxBuilder-Pro to enter your image titles and captions, this is not a problem (as JuiceboxBuilder-Pro automatically uses CDATA tags).

You can also use HTML line breaks (<br>) to separate an image title or caption into separate lines.
Please see the FAQ below for more information on HTML formatting within image titles and captions.
How do I add HTML formatting to image captions and titles?

I hope this helps.

If you have uploaded a complete gallery folder to your web server, then you should be able to view the gallery on a web page of its own by opening the gallery's 'index.html' file (directly inside the gallery folder) in a browser.

For example, if your gallery folder is named 'juicebox_gallery' and you have uploaded the complete gallery folder to your root directory, then you should be able to view the gallery using this URL:
http://your-domain-name.com/juicebox_gallery/index.html

If you want to embed the gallery into an existing web page alongside other content, then you can use the baseUrl method of embedding documented here.

For reference, we have notes on Embedding with iWeb here which recommend using the baseUrl method of embedding.

Continuing with the example above, if your gallery folder is named 'juicebox_gallery' and you have uploaded the complete gallery folder to your root directory, then you can embed the gallery into a web page using the following embedding code (changing the gallery dimensions and background color if necessary):

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

The leading slashes in the paths above denote your root directory so as long as your gallery folder is named 'juicebox_gallery' and has been uploaded to your root directory, then the embedding code above will work in any web page throughout your site without modification.

If you are having trouble with your domain name or do not know where to upload files on your web server so that they appear in URLs using your domain name (for example where the root directory is for your domain), then your web host should be able to help you out.

I hope my notes above help.
Please let me know how you get on and if I can be of any further assistance.
Thank you.

742

(1 replies, posted in Juicebox-Pro Support)

I'm going to need a little more information in order to help you out...

Are you trying to install or run JuiceboxBuilder-Pro or one of the plugins?

What exactly are you trying to do when the error occurs and what exactly does the error message say?

If possible, please provide a screenshot of the error message and, if you are having trouble with an online gallery, then please provide a link to your gallery's web page so that I can see the problem for myself and investigate further.

Also, the troubleshooting FAQs here may help.

743

(1 replies, posted in Juicebox-Pro Support)

I'm glad that you've been able to resolve your problem.
Thank you for letting me know.

Browser caching can sometimes be a hindrance to development but it is rarely a problem that visitors to your website will encounter, as noted in the following FAQ:
When I update my gallery I don't see my changes online. Why?

744

(4 replies, posted in Juicebox-Pro Support)

There are certainly other methods of creating Juicebox galleries which do not require Adobe AIR, many of which use plugins for other programs (such as Lightroom or Photoshop). Please see the Juicebox Plugins support page for details.

You can also create a gallery manually using the sample 'web' gallery (from the Juicebox-Pro download zip package) as a template. Instructions can be found here.

I still think it would be worth trying to install and run JuiceboxBuilder-Pro under a fresh user account to see if this works.
Logging in as a different user just to run JuiceboxBuilder-Pro (if it works) might not be ideal but it might allow you to continue to use the application without having to switch your method of gallery creation entirely.

745

(4 replies, posted in Juicebox-Pro Support)

So there is an obvious clash between Safari and the Jukebox Forum.

No-one else has reported any issues with the forum when using Safari. Do you maybe have any browser extensions installed which might be interfering with things? If you do have any browser extensions installed, then try temporarily disabling them to see if this makes a difference. Don't worry about creating a couple of test posts. I can delete them later.

If anyone reading this thread uses Safari and has experienced any issues with the forum, please let me know in this thread (post using a different browser if necessary). Thank you.

Juicebox quits before starting

For anyone else reading this thread, here are the suggestions I have already made to the original poster via email:

(1) Try uninstalling and then reinstalling JuiceboxBuilder-Pro but, before reinstalling the application, please delete the following files and folders manually to make sure that there is nothing left behind from previous installations.

  • /Applications/JuiceboxBuilder-Pro.app/

  • /Users/Username/Library/Application Support/Adobe/AIR/ELS/JuiceboxBuilder-Pro

  • /Users/Username/Library/Preferences/JuiceboxBuilder-Pro

(2) If you have any security software installed, the try temporarily disabling it (whilst both installing and running JuiceboxBuilder-Pro) to make sure that it is not somehow interfering with the application.
I would not normally recommend disabling security software but disabling it temporarily may be a useful step in troubleshooting your problem. Please do so at your own risk and disconnect from the internet before doing so.

I'm sorry to hear that neither of these suggestions has helped.
It sounds like you might have an underlying problem with Adobe AIR on your system.
To try to narrow down possible causes, try installing and running a different Adobe AIR application to see if the same problem occurs.
You can download some sample AIR applications from here: https://www.adobe.com/devnet/air/sample … cript.html

If you find that the problem happens with all AIR applications, then the problem is with Adobe AIR itself (rather than with JuiceboxBuilder-Pro). If this is the case then it might be helpful to post in the Adobe AIR forum: https://forums.adobe.com/community/air

I realise that this will not directly solve your problem but it might help to point you in the right direction.
Please let me know how you get on.

Edit #1:
Incidentally, I have found these two unanswered queries in the Adobe AIR forum which seem to accurately describe the problem that you are experiencing. (It is unlikely that either of the posters were using JuiceboxBuilder-Pro so I expect that the problem is an Adobe AIR issue of some kind.)
https://forums.adobe.com/message/5850342#5850342
https://forums.adobe.com/message/6997574#6997574

Maybe posting in the Adobe AIR forum is, indeed, the best course of action.

Edit #2:
Try creating a new user account on your computer and then try installing JuiceboxBuilder-Pro under the new user account to see if this works. Maybe there's something strange going on with your current user account.

I hope my notes above help to some degree.

746

(7 replies, posted in Juicebox-Pro Support)

Having your own custom placeholder for the gallery as it loads is certainly a wise decision.
I'm sure that visitors to you site will be willing to wait a few seconds if they know that resource files are still being loading in the background.
There's nothing worse than a blank space and not knowing if the web page has stalled or not!

747

(7 replies, posted in Juicebox-Pro Support)

In this case, 8.1s for a page to START loading content is just too high.

Agreed. However, it sounds like you've got things under control and are doing all you can to optimize things.
Unfortunately, I don't think I can add anything which would help further. I'll certainly post back here if I think of anything.

Thanks for sharing your CSS animated loading icon, though. Very interesting... works well and looks good!

OK, no problem!

749

(3 replies, posted in Juicebox-Pro Support)

You're welcome.

I realise that it's not ideal but at least knowing the root cause of the problem, we can workaround it.

I cannot be sure of the exact reason why your gallery did not load your images (which is why I gave a few different suggestions).
All I can say with any certainty is that when I went to view one of your images directly (bypassing Juicebox), your web server did not display it and when I viewed the source of the 'blank' page in my browser, I saw HTML code which looked like a generic error 404 page.
The HTML code I saw (the source of the 'blank' page on which the image should have been displayed) was exactly the same HTML code that I see when I view the source of any web page on your web site that definitely does not exist, such as: https://www.haselau.eu/this_web_page_do … exist.html
This suggested to me that the images had not been uploaded to the correct location on your web server (and this is why my first suggestion was to check that the images had been uploaded to your web server successfully).

Juicebox can display images which contain accented characters as long as your web server can (my test gallery demonstrates this) so try again with your accented filenames if you like (although I'd still recommend using only web-safe characters for image filenames and leave accented characters for image titles and captions).

However, please note that JuiceboxBuilder-Pro does not accept images which contain #, ? and ' characters.
This is noted in the Known Issues section of the JuiceboxBuilder-Pro User Guide.
These characters are reserved characters in URLs (rather than just being accented characters) and ideally should not be used within image filenames.