@mustard

Technically, there really is no limit to the number of galleries that you can have on a single web page. (There is no hard-coded limit built into Juicebox.)

The final one simply won't work and opens up an earlier gallery.

This sounds like a coding problem (maybe a duplicated baseUrl or configUrl).
Please post back with the URL to your web page so that I can see the problem for myself and hopefully help further.

Incidentally, when embedding multiple galleries, the 'juicebox.js' file should be loaded just once (i.e. once per web page rather than once per gallery). If you currently load the 'juicebox.js' file once per gallery, then leave the first instance and remove al others.

452

(5 replies, posted in Juicebox-Pro Support)

That's great! Thanks for letting me know.

453

(5 replies, posted in Juicebox-Pro Support)

Thank you for the update. I'm glad you've been able to resolve your Lite/Pro problem.

Unexpected token '<'

You have two opening <script> tags one after another: one on line 97 and the other (after a few blank lines) on line 103.
After the initial opening <script> tag, the browser is expecting some JavaScript code but, instead, it encounters the '<' character of the next opening script> tag which is where the error is coming from.
Just remove one of these opening <script> tags and all should be well.

If you'd like to check your web page for any other HTML errors, you can feed your web page's URL to the W3C Markup Validation Service (and then fix any errors reported).

454

(5 replies, posted in Juicebox-Pro Support)

... have replaced the  'jbcore' folder with the 'jbcore' folder from the Juicebox-Pro download zip package...

Please try again. It looks like your replacement has not been successful.
The Juicebox logo is present in all Lite galleries but is never present in any Pro galleries.
If you view your web page's 'juicebox.js' file online directly in a browser (https://www.eu-atlas.org/jbcore/juicebox.js), you'll see in the comments at the top of the file that it is still the 'Lite' version.

When you replace the 'jbcore' folder on your web server, make sure that your FTP program is set to overwrite existing files.
If you are in any doubt as to whether or not your existing files are actually being replaced, then try deleting the Lite 'jbcore' folder from your web server first before uploading the Pro version in its place.

Once the Pro 'jbcore' folder is in place on your web server, the Juicebox logo will disappear from all of your galleries.

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

455

(7 replies, posted in Juicebox-Pro Support)

That's a strange solution, for sure, but I'm glad that it worked for you. Thank you for letting me know.

Incidentally, I just reinstalled Windows 10 myself last week (a clean install) and did not have to adjust my system clock to install JuiceboxBuilder-Pro so I'm really not sure what the cause of the problem is.
In any case, I'm glad you've got it working.

456

(7 replies, posted in Juicebox-Pro Support)

@billparslow

I'm sorry to hear that you are having trouble installing JuiceboxBuilder-Pro.
Hopefully my notes below will help.

First of all, please let me reassure you that JuiceboxBuilder-Pro is fully compatible with Windows 10. (I am currently running JuiceboxBuilder-Pro v1.5.1 on Windows 10 Version 2004 OS Build 19041.508 without any issues.)

If you are able to extract the 'juicebox_pro_1.5.1.zip' file without any errors, then it is unlikely that your 'JuiceboxBuilder-Pro.air' installation file is actually damaged.
However, if you would like to ensure that your JuiceboxBuilder-Pro installation file is not corrupt, then you can check that it has the following properties:

Name: JuiceboxBuilder-Pro.air (v1.5.1)
Filesize: 1,390,776 bytes
MD5: 1030cd51905c5e432f4d57a7bfa4e203
SHA1: 0790b8df79efaf6f0b89624884252fd07001149e

You can check the MD5 and SHA1 hashes of files with a free program such as HashCalc.

If you have already tried the full uninstall/reinstall procedure noted above, then further troubleshooting tips for JuiceboxBuilder can be found in this forum post.

The suggestions in the post which I think are most relevant to your problem (and which I'd certainly try myself) are #4 (regarding the location of the JuiceboxBuilder-Pro installation file), #8 (using an older version of Adobe AIR), #9 (regarding anti-virus programs) and #10 (regarding the system clock).

Additional Notes:

#8 Adobe Air

You might like to try using an older version of AIR. I would not normally recommend using older software but it may help in this instance.
A couple of users who have had trouble installing JuiceboxBuilder-Pro recently have had success doing this so it might be worth trying.

JuiceboxBuilder-Pro requires Adobe AIR v2.0 or later so you could try a version such as Adobe AIR v20.0.
Links to older versions of Adobe AIR can be found on Adobe's archive page here.
Here is a direct links to Adobe AIR v20.0 for Windows.

If this helps and allows you to install JuiceboxBuilder-Pro, then you should be able to upgrade AIR in-place afterwards (without needing to uninstall the existing version first).

#10 System Clock

Try setting your system clock back two years before attempting the install.
As unlikely as it sounds, it seems to have helped a couple of other users who have reported similar issues.
You can reset your clock to the correct time after the install.

I hope that these suggestions help you to successfully install JuiceboxBuilder-Pro.
Please let me know how you get on and if I can be of any further assistance.

457

(16 replies, posted in Juicebox-Pro Support)

You're welcome!
I hope you get on OK with your other galleries.
I'll mark this thread as [SOLVED] but if you run into any further problems, just create a new thread and I'll do my best to help you out.

458

(7 replies, posted in Juicebox-Pro Support)

The other code should work fine. (I tested it myself under PHP 7.4.10 before posting it.)  Maybe scandir() has been disabled in your web server's PHP configuration.
Anyhow, I'm glad that my other suggestion worked for you.
Thank you for posting back to let me know. It's most appreciated!

459

(16 replies, posted in Juicebox-Pro Support)

OK, as far as I know the cap issue is corrected.

Yes, your gallery at http://davebreen.com/jhbsocber20.html now displays correctly. If you do not see your gallery at this address, then please completely clear your browser's cache before reloading your gallery's web page to ensure that your browser is fetching the current files from your web server (and not using older, cached versions from your computer's hard drive).
(The gallery is working so if you do not see it, the issue if most likely a browser caching issue.)

I read somewhere about updating PHP (I don't know what that is), and BlueHost indicated I was using 7.0 which was deprecated, so I updated to 7.3.

PHP is a server-side scripting language. Some web pages may contain PHP code. The PHP code is processed on your web server before the web page is delivered to the user's browser. This allows for a dynamic (rather than just a static) website.
If any of your web pages use PHP, then you'll need to have PHP installed on your web server.
For example, WordPress is a PHP web application which requires PHP. It will not work without PHP.
Juicebox-Pro requires PHP for two functions, namely the Download Button and Password Protection. PHP 5.2 or later is required for these functions but, if you do not use them, then your Juicebox gallery will run quite happily without PHP being available.

When I enter davebreen.com/jhbsocatl20.html I get a WordPress "coming soon" page.

When you visit any URL which does not exist on your web server, your web server defaults to displaying the "WordPress Coming Soon" page as your site's error 404 (file not found) page. You can change this error 404 page if you like but you'll need to find out where it is being set on your web server. (Your web host should be able to help you out with this.)

I did install WP in case I needed it, but have not created any pages in it.

WordPress is a PHP web application which allows users to create a website or blog online in a web browser interface.
You do not need WordPress installed in order to have Juicebox galleries on your website.
However, if you do use WordPress, then there is a dedicated Juicebox plugin for WordPress (WP-Juicebox) which allows you to create and embed galleries into WordPress pages and posts from within the WordPress interface (without having to build your galleries on your computer with JuiceboxBuilder).
If you do not want to use WordPress for your website, then there is absolutely no need for it in order to have Juicebox galleries.

I don't know how to uninstall it.

If you installed WordPress through your online hosting account's control panel, then there may be a way to uninstall it through the control panel, too. I'd investigate this first (ask your web host, they'll know) before you start manually deleting any files.

I don't find a way to disable caching, but have not contact BH yet.

From what I've seen of your website and the changes you've made, I do not see any evidence of server-side caching but if you make any changes and don't see them immediately, then it's just something to bear in mind which might be causing the problem.

The necessary files seem to be in place, so I have no idea why it isn't working.

As I mentioned above, your http://davebreen.com/jhbsocber20.html gallery is now displaying and functioning fine and if you don't see it yourself, then please try clearing your browser's cache before reloading your gallery's web page.

I hope my notes above help to clarify a few things.
If you are having trouble with any other galleries, just post links to them and I'll try to help further.

460

(7 replies, posted in Juicebox-Pro Support)

Just changing the line:

$ret[count($ret)]=$file;

... to:

$ret[]=$file;

... should hopefully resolve your problem (and be backwards compatible with older versions of PHP).

Edit:
In fact, here's an alternative one-liner for the entire GetDirArray function:

function GetDirArray($folder)
{
    return array_diff(scandir($folder), array('.', '..'));
}

461

(1 replies, posted in Juicebox-Pro Support)

As far as I can recall, the minimum Adobe AIR requirement for JuiceboxBuilder is AIR v2.0 or later so you should hopefully be able to download the last version of AIR for Linux (v2.6) from the Adobe AIR archive web page and install JuiceboxBuilder under this version of AIR.
Here's a direct link to Adobe AIR v2.6 for Linux (from the link above).
I hope this helps.

462

(16 replies, posted in Juicebox-Pro Support)

It looks like there's a typo in your baseUrl entry.
Change:

baseURL: "jhbsocer20/",

... to:

baseURL: "jhbsocber20/",

I don't know if changes take a while to appear.

Changes can take a while to appear if your web server employs server-side caching.
If you find that changes do not take effect immediately, then ask your web host if they would be willing to disable server-side caching on your hosting account. (You might be able to change this yourself in your hosting account's online control panel.)

463

(16 replies, posted in Juicebox-Pro Support)

It looks like the folder name on your server is still 'JHBsocBer20'.
If you are changing all path references to lowercase, then you'll need to change this folder name to 'jhbsocber20', too
Everything else looks to be in place and I don't think you should be having any issues specifically because of Blue Host.
Hopefully, once you rename your gallery folder to lowercase, your gallery should display as expected.

464

(16 replies, posted in Juicebox-Pro Support)

I guess caps DO matter.

Yes. Most web servers are case-sensitive so 'JHBsocBer20' (for example) is different to 'jhbsocber20'.
In your http://davebreen.com/JHBsocBer20.html page, you have the following line in your gallery's embedding code:

<script src="jhbsocber20/jbcore/juicebox.js"></script>

Therefore, the browser is trying to load the 'juicebox.js' file from this location: http://davebreen.com/jhbsocber20/jbcore/juicebox.js
... but the file is not there.
The line of code should be:

<script src="JHBsocBer20/jbcore/juicebox.js"></script>

Also, your baseUrl entry should be:

baseURL: "JHBsocBer20/",

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

465

(7 replies, posted in Juicebox-Pro Support)

Thank you for the links to your galleries.

I see that you are using a custom PHP file (named 'config.php')  to dynamically generate your gallery's XML data.
The problem lies somewhere within this file (which is not part of the Juicebox package).
There is something within this file that is not compatible with PHP 7.2 onwards.

Unfortunately, I do not have access to your 'config.php' file to inspect its code but opening it directly in a browser reveals the following warning:

Warning:  count(): Parameter must be an array or an object that implements Countable in config.php on line 10

Your use of the PHP count() function (whatever it may be) on line 10 is listed in the 'Backward incompatible changes' on the 'Migrating from PHP 7.1.x to PHP 7.2.x' support page here.

An E_WARNING will now be emitted when attempting to count() non-countable types (this includes the sizeof() alias function).

In order for your 'config.php' file to be compatible with PHP 7.2 onwards, you'll need to find a new PHP method to count whatever it is that you are counting.

I hope this points you in the right direction.
If you continue to experience difficulties, then please zip and upload your 'config.php' file somewhere (and provide a download link) so that I can inspect the code and hopefully help further.
Thank you.

466

(16 replies, posted in Juicebox-Pro Support)

I expect that the problem is likely to be a path issue (a file missing or in the wrong place on your web server).
Please check that all your gallery files have been uploaded successfully to your web server and ensure that the paths in the gallery's embedding code are correct.
If you continue to experience difficulties, then please post back with a link to your gallery's web page so that I can see the problem for myself and help further.
Once I'm able to see the problem live on your web server, I should hopefully be able to determine the exact cause of the problem and propose a solution.
Thank you.

467

(1 replies, posted in Juicebox-Pro Support)

Yes. Please see the following link for details: Using an External jbcore Folder

Essentially, you can upload a single instance of the 'jbcore' folder to anywhere you like on your web server and then load the 'juicebox.js' file from within this folder at the start of each gallery's embedding code. (Details are in the link above.)

This has the added advantage of allowing you to upgrade all your galleries at once (when new versions of Juicebox are released) by just replacing a single 'jbcore' folder.

468

(7 replies, posted in Juicebox-Pro Support)

That's very strange...

With the exception of the Download Button (showDownloadButton="TRUE") and Password Protection (usePassword="TRUE"), Juicebox-Pro does not need or use PHP at all.

I have just uploaded two test galleries to my own web space (one with both the Download Button and Password Protection and one with neither) and they both run fine under PHP 7.2.33, 7.3.22 and PHP 7.4.10.

I think there must be something else going on when you switch PHP versions as PHP is not required for a gallery's configuration file to be found.

If possible, please post back with a link to the gallery in question (under PHP 7.2, PHP 7.3 or PHP 7.4) so that I can see the problem for myself and investigate further.

Thank you.

469

(6 replies, posted in Juicebox-Pro Support)

You're welcome!

470

(6 replies, posted in Juicebox-Pro Support)

I see your two images now display correctly.
I'm not sure what the problem was but you certainly seem to have resolved it. Thank you for posting back to let me know.
I'll mark this thread as SOLVED but please post back if you see any further odd behavior. Thank you.

471

(6 replies, posted in Juicebox-Pro Support)

I don't know what is causing your problem but I do not think that it is a coincidence that the two images that do not display have the keyword "hidden" in their titles.
I have tried setting flickrShowTitle="FALSE" and flickrShowDescription="FALSE" to no avail.
I'd try actually changing the titles of these images to remove the word "hidden" (at least temporarily, for testing purposes) to see if this is, indeed, the cause of your problem.
If this does resolve your problem, then maybe you could use a term other than "hidden" (perhaps something like "secret" instead).

I'll try to figure out exactly what is causing this problem (whether it is a Flickr or Juicebox issue) to see if it can be resolved without changing your image titles.
I'll post back here once I've had a chance to investigate further.

Incidentally, I've just created a test Juicebox gallery using local images with the word "hidden" in their titles and captions and the gallery displays all images so, at the moment, it does not look like a Juicebox issue (at least not with local images).

I've also just added the word "hidden" to one of my own Flickr images (in the title and description) and a new Juicebox test gallery displays this image without any problem.

Very strange...
I'd certainly try removing all instances of "hidden" from your own images and, failing that, try reuploading them to Flick (as additional images and/or replacing the current images) to see if this helps.

I'll take another look at this later on when I have more time.
I hope you get on OK in the meantime. Please keep me posted with any updates on your troubleshooting. Thank you.

472

(498 replies, posted in Juicebox-Pro Support)

@franklomax

It has, indeed, been a while since the last release but please let me reassure you that Juicebox is still actively being developed and supported.
The next version will likely be a bug-fix version, rather than introducing new features. Work has started on the next version but progress is rather slow (and I do not know when it will be released).
However, I hope to see a new release soon, just as much as you do!

473

(2 replies, posted in Juicebox-Pro Support)

I understand your concerns (I truly have the same concerns) but, unfortunately, I have no more insight into the future of AIR than you do and, at this moment in time, I genuinely have no news on the future of JuiceboxBuilder.
All I know is that Juicebox itself is still alive and that work has started on the next version (which will likely be a bugfix release).
I really do not know any more than that. I'm sure that the developers are aware of the AIR issues and all we can do, myself included, is hope that JuiceboxBuilder can live on in some form or other beyond the Harman procurement of AIR.
I wish I had more information (good or bad) to give you but I'm as much in the dark as you are just now.

It should be noted that there are alternative ways of creating Juicebox galleries that do not rely on JuiceboxBuilder and AIR. I realise that these methods may not be suitable for all users (and it is certainly a less than ideal scenario) but the Lightroom plugin at least provides Lightroom users with a longer-term solution (with the Pro version of the plugin featuring full control over all Pro configuration options just like JuiceboxBuilder-Pro).

I'm sorry that I do not have any more information at this time but I'll be sure to post back here if I hear anything relevant to this matter.
Thank you for your concern and continued support of Juicebox.

No, sorry.
There is currently no way to make local previewing of Juicebox galleries possible in browsers which use the Chromium web engine (Chrome, Edge, Opera).
Local previewing is currently possible only in Firefox and Safari (instructions in this forum post).
I understand that it is not an ideal scenario but I hope that using a browser that is not your system's default browser is not too much on an inconvenience.

First of all I dont understand why I had
juicebox lite in there, since I bought Pro and used that folder?

If you were using Juicebox-Lite, then it could have been due to a WP-Juicebox upgrade.
WP-Juicebox comes bundled with Juicebox-Lite and if you upgrade WP-Juicebox, your Pro 'jbcore' folder will be overwritten with the Lite version.
Reinstating your Pro files is a simple task of uploading your Pro 'jbcore' folder (from your Juicebox-Pro zip file) to your 'wp-juicebox' directory (which should take less than a minute of your time). (You could also just remove the Lite 'jbcore' folder from the WP-Juicebox package before upgrading to prevent your Pro 'jbcore' folder from being overwritten.)

See screen shots to puzzle out why stuff does not seem to conform to all the directions.

The screenshot of your gallery does seem to conform to the screenshot of your gallery settings window. (The screenshot of your gallery windows shows maxThumbRows="1" and maxThumbColumns="6" and this is displayed in the screenshot of your gallery.)

Even when I exchange "6" and "1", nothing changes.  I delete cache.

Setting maxThumbRows="6" and maxThumbColumns="1" will definitely make a difference.

If it does not seem to make a difference for yourself, then the problem is almost certainly a caching issue.
After making changes on an 'Edit Gallery' page, make sure that you click the 'Save' button at the bottom of the page and if you do not see the changes you expect to see, make sure that you are 100% certain that you have completely cleared your browser's cache before reloading your gallery's web page. (Sometimes refreshing the page with F5 or even Ctrl+F5 is not enough.)

I've just double-checked all this by creating a sample gallery in WP-Juicebox v1.5.1.2 (using Juicebox-Pro v1.5.1) using maxThumbRows="6", maxThumbColumns="1" and thumbsPosition="LEFT". The gallery displayed as expected. I then edited the gallery (on the 'Manage Galleries' page and swapped the '1' and the '6'. Again, the gallery displayed as expected (with the rows and columns swapped).

If clearing your browser's cache does not help, then maybe the issue is with server-side caching. Your web host could perhaps have server-side caching enabled on your hosting account and, even though files have changed, your web server could still be serving older versions of these files for a certain period of time.
Please check in with your web host and ask if they have server-side caching enabled on your hosting account and, if so, ask if they would be willing to remove it.
Caching can certainly be useful but it can also sometimes be a hindrance to development.

Why does trhge attachment say
" 115.55 kb, file has never been downloaded"

If you click on the attachment link, the image will be displayed. Below the image, you'll see a download link. Each time the image is downloaded via this link, the download counter is incremented by one. (Most people will be content with viewing the image in place and will not download it.)