451

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

452

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

453

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

454

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

455

(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('.', '..'));
}

456

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

457

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

458

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

459

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

460

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

461

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

462

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

463

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

464

(6 replies, posted in Juicebox-Pro Support)

You're welcome!

465

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

466

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

467

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

468

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

Here are two things to try:

(1) Make sure that your WP-Juicebox installation is using Juicebox-Pro (and not Juicebox-Lite which it comes bundled with). Juicebox-Pro configuration options such as galleryTitlePosition are not supported by Juicebox-Lite. You can check which version of Juicebox (Lite vs Pro) your WP-Juicebox installation uses by looking at the "WP-Juicebox" menu label in the WordPress dashboard. It'll read either "WP-Juicebox (Lite)" or "WP-Juicebox (Pro)" (as long as you're using the latest version of WP-Juicebox (v1.5.1.2). Also, if you are using Juicebox-Lite, then your gallery will have a Juicebox logo in the lower right corner.
If you are using Juicebox-Lite, then in order to use Juicebox-Pro configuration options, you'll need to upgrade your WP-Juicebox installation to use Juicebox-Pro by following the Upgrading to Juicebox-Pro instructions here.

(2) After changing your gallery settings, try completely clearing your browser's cache before reloading your gallery's web page to ensure that your browser is not still using older cached versions of your gallery files.

Incidentally, the link you posted previously (https://www.stevezavodny.com/blog/galle … index.html) shows a gallery with no gallery title, no captions and a single column of thumbnails to the left of the main image (it looks like what you are aiming for) so, if you do not see this yourself, then the problem is likely a browser caching issue and clearing your browser's cache (or using a different browser) should show you the gallery as you expect it to be displayed.

... I never see the familiar juicebox editing interface.

WP-Juicebox has individual interface controls for Lite options only.
Pro options must be entered in the 'Pro Options' text area of the gallery settings window, one per line, such as:

expandInNewPage="TRUE"
showImageOverlay="ALWAYS"

This has always been the case with WP-Juicebox (and setting Pro Options in a WP-Juicebox gallery is noted in the WP-Juicebox support page here).

You will find the 'Pro Options' text area in the gallery settings window when you first create a gallery.
You can access the gallery settings window for a pre-existing gallery by going to 'WP-Juicebox -> Manage Galleries' (from the WordPress Dashboard side menu) and clicking 'Edit' next to the gallery that you'd like to modify.

...what if I wanted to move the thumbnails to the left, vertical,
or change their size?

Try adding something like the following to a gallery's 'Pro Options' text area, changing the values as necessary:

thumbWidth="75"
thumbHeight="75"
thumbsPosition="LEFT"
maxThumbRows="10"
maxThumbColumbs="3"

In the screen shot, how do I get the unwanted labels
off the pictures off?

The text in the top-left is the gallery title. To remove the gallery title, set  the following in the gallery's 'Pro Options' text area:

galleryTitlePosition="NONE"

The text near the bottom of the image is the caption area.
By default, WP-Juicebox uses the image filename (without the extension) as the image title. ("b-forgiving-1" in your screenshot.)
You can remove this by deselecting the 'Display Image Titles' checkbox (just above the 'Pro Options' text area).
You can remove the image number ("6/6" in your screenshot) by setting the following in the 'Pro Options' text area:

showImageNumber="FALSE"

You can remove the entire caption area (without needing to remove the image title and image number separately) by setting the following in the 'Pro Options' text area:

captionPosition="NONE"

For reference, a list of all Pro Options can be found here.

I hope this helps.

Thanks for rapid response.

You're welcome!

BTW, I'm getting a little worried about the lack of any updates to Juicebox since 2017.

Thank you for your continued support of Juicebox-Pro.
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 release, rather than introducing new features. Work has started on the next version but progress is rather slow.
Unfortunately, I do not know when the next version will be released (there is no set release schedule) so any estimate I give you could turn out to be wholly inaccurate.
I hope this at least helps to reassure you that Juicebox is still alive and well!

The 'Home' icon is the Back Button, displayed when backButtonPosition is set to either TOP or OVERLAY (and backButtonUseIcon is set to TRUE).

You can have the Back Button redirect to any web page you like by setting backButtonUrl (in JuiceboxBuilder-Pro's 'Customize -> Back Button' section).
The value for backButtonURL can be a relative path (relative to the web page containing the gallery's embedding code) or an absolute path (starting with either http:// or https://), for example:

backButtonUrl="http://www.example.com/index.html"

For reference, a list of all Back Button options can be found here.

I hope this helps.

Editing a gallery on the 'WP-Juicebox -> Manage Galleries' page will allow you to change the gallery's configuration options.

When using the WordPress Media Library as a source of images for your gallery, all image handling (including the order of the images) is done using core WordPress functionality.

When first uploading a batch of images for a gallery, the initial image order will be the order in which the images finish uploading.

If you want to reorder images in a gallery after the gallery has been created...

(1) Edit the post containing the gallery.

(2) Add a Gutenberg 'Gallery' block to the post. (This is just a temporary method of accessing the images attached to the post.)

(3) Click the 'Media Library' button (within the 'Gallery' block) to access the media window.

(4) Make sure that 'Create gallery' is the selected option (in the left side menu of the media window).

(5) Make sure that 'Media Library' is the selected tab (at the top of the media window).

(6) In the 'Filter media' drop-down menu, select 'Uploaded to this post'. All images attached to the post will be displayed as thumbnails.

(7) Drag and drop the thumbnails into the order that you'd like them to be displayed in the gallery.

(8) Close the media window (via the cross at the top right).

(9) Remove the 'Gallery' block from the post. (It is no longer required.)

There is no need to re-publish the post. The images will have been reordered internally by WordPress as soon as the Drag and drop action is finished.

If the images look to be in the correct order but are not, then just drag and drop an image out of place and then drag and drop it back into place. This will force WordPress to reorder the images internally.