751

(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.

752

(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.

754

(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.

755

(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?

756

(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.

757

(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.

758

(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!

759

(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!

761

(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.

763

(3 replies, posted in Juicebox-Pro Support)

Unfortunately, if you are trying to add many images to JuiceboxBuilder-Pro at once, then Adobe AIR (the platform on which JuiceboxBuilder-Pro runs) may not be able to allocate enough memory for the task at hand. Even if your computer has plenty of free RAM, Adobe AIR applications are limited to around 1GB of memory allocation (as far as I am aware).

The workaround is to add your images in smaller batches. Trial and error will help to determine a safe number of images per batch (it will depend on your own images) but, if adding 319 images at once fails, try batches of around 150 images as a starting point.

Just as a point of comparison, I have a folder of 400 test images on my desktop and I am able to add them all at once without any problem. The number of images that you will be able to add really does depend on your own image filesizes so I can't really recommend a number. Trial and error really is the best way to determine a safe number of image to add at once.

I hope that adding your gallery images in multiple drag-and-drop actions (instead of just one) is not too much of an inconvenience, although I realise that it is not ideal.

I'm glad that you have been able to resolve your problem but, just to clarify, the problem is with your web server rather than with Juicebox itself.

Essentially, you uploaded an image to your web server with an accented character in its filename and your web server was unable to display it when you went directly to its URL.
(The image happened to be inside a Juicebox gallery folder but this test actually has nothing to do with Juicebox.)
If the browser is unable to display the image directly, then Juicebox will also be unable to display the image in the gallery.

I would always recommend using only web-safe characters for image filenames but, just to let you see that Juicebox can handle accented characters in image filenames, here's a single-image test gallery (created by JuiceboxBuilder-Pro) where the image in the gallery is named "éèâîôñüïç.JPG": [Link deteled.]

As long as the web server is happy with accented characters, then Juicebox will be, too.

Try contacting your web host to see if they have made any changes recently which might be affecting your results.

The problem with your '2018nordart' gallery is with the images on your web server.

According to your gallery's 'config.xml' file (https://www.haselau.eu/jb/2018nordart/config.xml), the first image in your gallery should be located here: https://www.haselau.eu/jb/2018nordart/i … 202018.jpg
However, going directly to the image's URL in a web browser (bypassing Juicebox) displays a blank page instead of the image.
Going directly to the image's URL in a web browser should display the image (completely independent of Juicebox) but this does not happen so the problem is with the image on your web server rather than with Juicebox itself.

First of all, please double-check that the images have been successfully uploaded to your web server.
It looks like the blank page may actually be an error 404 (file not found) page so the images may not have been uploaded to the correct location on your web server.

Please also check out this FAQ:
My images show locally, but not when I upload them to my website. Why?

If this does not help, then the problem could be due to your image filenames containing special characters (such as "ü").

As an image filename forms part of a URL when uploaded to a web server, it would be wise to use only web-safe characters within image filenames. Please see section 2.3 of this document for details.

Characters that are allowed in a URI but do not have a reserved purpose are called unreserved. These include uppercase and lowercase letters, decimal digits, hyphen, period, underscore, and tilde.

You should have no trouble (either in JuiceboxBuilder-Pro or on your web server) if your image filenames use only these web-safe characters.

With this in mind, try renaming your images to use only web-safe characters within their filenames to see if this helps.

766

(3 replies, posted in Juicebox-Pro Support)

Unfortunately, enableDirectLinks does not support multiple galleries embedded on a single web page and there is no way to distinguish between galleries with regard to direct linking.

However, this sounds like a prime candidate for the Feature Requests thread.
Please post any ideas you have for future versions over there where they will be seen by the developers.
I do not know what suggestions will be implemented but this is certainly the best place for all ideas.
Thank you.

767

(7 replies, posted in Juicebox-Pro Support)

Many thanks for the information.
Unfortunately, I'm still not entirely sure how I'd approach the problem myself.

It certainly isn't possible to dynamically remove images after a gallery has loaded.
You'd really need to catch the problem at the time the configuration data is generated or recreate fresh configuration data and reload the gallery.
If you go down the reload route (which might be preferable to having ghost images at the end of a gallery), you could perhaps hide the gallery container using CSS and show it only when everything is ready (after the first load if everything is OK or after the reload if necessary).
This is by no means ideal but it would at least look better to the site visitor.

I can then have the page check back in to validate how many images actually exist, but I don't do that when generating the 'XML' config to reduce loading time.

Have you tried this and timed it in a real-world example? Maybe the time taken would be acceptable (to produce a gallery which does not need to be reloaded).

If your server reports that 0 images are available, could you maybe create configuration data, one image at a time, checking each image's existence as you go (but only if 0 images are reported)?

Also, might you be able to store your configuration data in a variable and perform some string manipulation on it (to check and remove any SVG images) before feeding it to your configUrl?

I'm really just thinking aloud here.
I don't expect to come up with a great solution for you (your workflow is quite complex and I'm not sure I completely understand all the intricacies of it) but maybe my notes above will somehow help.

768

(5 replies, posted in Juicebox-Lite Support)

@tmd

Thank you for sharing your experiences.

A quick test of my own certainly supports your theory: Flickr-added autotags do not seem to be taken into consideration in API searches.

Here's a Flickr API forum discussion regarding autotags and the API (it's a little old but the information still seems to hold true today): https://www.flickr.com/groups/510356128 … 985879334/

... and here's a Stack Overflow forum thread (same topic; same conclusion): https://stackoverflow.com/questions/312 … h/32556404

Summary:
If you want to use the flickrTags configuration option in your Juicebox gallery, then make sure that you have added the tags yourself (and that you are not using autotags added by Flickr).

769

(7 replies, posted in Juicebox-Pro Support)

Even if the gallery's configuration file is generated dynamically (on-the-fly when the gallery is displayed), it will be complete (and cannot be changed) as soon as the gallery loads (and the API can only be used client-side after the gallery has loaded, i.e. after the gallery's configuration file has been generated server-side).

The only way to remove an image from a gallery that has already loaded would be to re-generate a new configuration file and then reload the gallery (using the new configuration file).

I can't quite wrap my head around exactly what you are doing (where the images are coming from and how you would determine if an image is valid or not) so, at the moment, I can't figure out how I might set about solving your problem.

It looks like you'd need to validate your images within the script that generates the gallery's configuration file (the file that stores the image data).

Maybe if you could explain exactly how your gallery's configuration file is generated (and how the problem arises), I might be able to help further. Thank you.

770

(3 replies, posted in Juicebox-Pro Support)

Set enableDirectLinks="TRUE" (in JuiceboxBuilder-Pro's 'Customize -> General' section) and each image will have its own unique URL (the gallery page URL with a # followed by the image index number).

For example, to go directly to the 7th image in our Juicebox-Pro Full Browser Demo, use this URL:
https://juicebox.net/demos/pro/full/index.html#7

You'll notice that the # identifier changes in the browser's URL as you select different images within the gallery.

771

(4 replies, posted in Juicebox-Pro Support)

It sounds like you are batch processing images in Lightroom to add IPTC data (to add the same caption text to many images at once) and then using JuiceboxBuilder-Pro's IPTC extraction ('Images -> Captions -> Use IPTC Caption') to populate all image captions at once. (I hope I have that correct. It certainly sounds like the best course of action.)
I hope that the process of adding captions to your images as metadata does not take too long.
At least it has the benefit of always having the caption associated with the image and in the future, as long as you use programs that are capable of reading metadata, you will never have to manually type in the image's caption again!

772

(3 replies, posted in Juicebox-Pro Support)

thank you very much for Your assistance - great job..

You're welcome!

You may look now again on the link I've sent you - hope, you agree :-)

Yes, your caption size certainly looks good on my laptop screen (the only PC I have access to today).

Incidentally, as you are using image captions and not image titles, an alternative solution might have been to enter your caption text for the image titles (instead of the image captions) as Juicebox assigns a larger font-size for the image titles than it does for the image captions.

There's absolutely nothing wrong with the solution you have implemented (your gallery looks good) but I thought I should mention this as a potential alternative solution which does not require any custom coding.
(Of course, using custom CSS, as you currently do, gives you much greater control over the actual font-sizes being used.)

773

(3 replies, posted in Juicebox-Pro Support)

Unfortunately, there are no configuration options available to change the font size of image titles and captions.

However, 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;
}

You could add this CSS to the end of your gallery's 'jbcore/classic/theme.css' file or wrap it in <style type="text/css"> ... </style> tags and add it to the end of your gallery web page's <head> section.

I hope this helps.
Please let me know how you get on and if I can be of any further assistance.
Thank you.

774

(4 replies, posted in Juicebox-Pro Support)

Unfortunately, JuiceboxBuilder-Pro does not allow for a certain caption to be applied to a selected group of images.

As far as I am aware, the only application which allows batch captioning is Showkase.
Showkase is a PHP web application (installed on your web server rather than your computer) which allows you to create a complete portfolio web site (integrating multiple galleries) online.
Showkase has full support for Juicebox-Pro and the galleries can be created within the application itself in a web browser interface (or created with JuiceboxBuilder-Pro and imported).

Also, you might like to consider embedding your captions within your images as IPTC metadata.
That way, the caption text will become part of the image file itself and wherever the image goes, the caption goes too.
JuiceboxBuilder has the ability to extract the IPTC Document Title as the image title and the IPTC Description as the image caption (so image titles and captions can quickly be set without any manual entry) via the 'Images -> Titles -> Use IPTC Title' and 'Images -> Captions -> Use IPTC Caption' options from the drop-down menu at the top.
You can add IPTC data to images (multiple images at once) in imaging programs such as Adobe Photoshop and Lightroom.
I realise that this would be an extra step in your workflow (prior to using JuiceboxBuilder-Pro) but if every image has its own caption embedded within it, then all captions can be set quickly and easily in a single action.

I'm glad to hear that everything seems to be working as it should.
Thank you for letting me know. (Your step-by-step instructions suggest that you are, indeed, doing everything correctly and, just for the record, I see 93 images in your online gallery.)
I'll mark this thread as solved but please just post back if you run into any further problems.
Thank you.