I use Juicebox on Linux all the time with no problems, as it runs just fine using Air version 2.6.  Adobe used to have a page with links to all versions of Air going back to the beginning, but it's been taken down now.  Access it via the Wayback Machine:

https://web.archive.org/web/20190413141 … rsion.html

Run AdobeAIRInstaller.bin and you should be able to install.  You'll need the 32 bit libraries installed on your system.

The other option is to use a pre-built .deb file, and the file you need is adobe-air_amd64.deb.  You can get this via NoobsLab:

https://www.noobslab.com/2015/05/adobea … buntu.html

Either way you go, make sure you save the file(s) for future use as there's no guarantee they will continue to be available.

Well I've found a temporary solution, though it's less than ideal and is a workaround.  Since the url is appended with "#expanded" when the gallery is expanded, adding an event listener to detect changes in the hashtag and using this to force a reload of the page when exiting the gallery (when "#expanded" is removed from the url and window.location.hash becomes the empty string) covers the occurrence of the issue:

window.addEventListener('hashchange', HashTagChange);

function HashTagChange() {
    a = window.location.hash;
    if (a == "") {
        window.location.reload()
    }
}

This can then be surrounded by additional javascript to add the event listener and/or execute the function only for non-iOS devices.  Since I do not force a splash page and it therefore shows only on small mobile devices, the desktop and larger tablet experiences will not be impacted.  Older desktop browsers that don't support "hashchange" will also not be affected.

I view this as a stopgap, however.  It's sloppy and only works consistently when using the phone's back button to exit the expanded gallery, which means that the showExpandButton option must be explicitly set to "FALSE."

I hope the developers tackle this issue in a future update.

Yes, that is correct.  Here are some screenshots with test page urls:

http://www.paoprod.com/Projects/Events/ … nshots.htm

Is there a way to add an event listener to detect when the user exits the gallery?  Setting expandInNewPage="TRUE" isn't appropriate because it causes a poor experience on the phone when swiping through galleries, and the custom javascript used to embed galleries on my site's pages was designed to deal with the variable height problems based on screen resize (or, in the case of phones and tablets, an orientation change).  All works fine on the desktop, but it's still breaking on phones and it seems that the only way to solve the problem is to force a desktop style layout across the board.  None of the solutions proposed are taking care of the issue, and the only thing that seems to work is hard coding a fixed width and height (not at all ideal on a responsive webpage).  Given Android's dominance of the market, if there is no workaround for this I will have no option but to remove Juicebox altogether and look for an alternative.

There has to be some way to fix this problem.  Using the recommended embedding method and eliminating all other script and html, yet still having the issue, seems to indicate that the issue is with Juicebox itself.  Is there a fix for this in the pipeline?  Also, are you seeing what I am seeing, or should I post screenshots?

After extensive testing, I think I've found the problem.  It seems that this issue is only happening when the code to embed the gallery is inside a <div>.  I created two test pages in which all code - html, styles, and script - has been removed except for a title and the most basic <body> formatting.  The gallery is directly embedded using the baseUrl method and the juicebox.js file is loaded from the jbcore folder.  With the first test page, all works correctly when the phone is rotated while viewing the expanded gallery - exiting back to the main page with the phone in a different orientation from the one it was in when the gallery was opened does not clip the splash page, which expands properly to fill the full width of the display.  With the second test page, the <div id="MainBody"> container has been added, and this is where the issue begins.  Changing the id to a class does not help, nor does changing "MainBody" to any other identifier.  Exiting the gallery by using the phone's back button or the expand/close button gives the same result.

Unfortunately, all the mobile friendly pages on my site use a set template of <div>s for the sake of consistency and ease of styling, so removing this container is not an option.  I really hope there is a solution for this.

without the <div> container:
http://www.paoprod.com/Projects/Events/ … tPage1.htm

with the <div> container:
http://www.paoprod.com/Projects/Events/ … tPage2.htm

I'm sorry if this has been addressed elsewhere in the forum (I couldn't find it).  I am currently using Juicebox-Pro to embed photo galleries into several pages on my site, and am having an issue when these pages are viewed on mobile phones.  Everything works as it should until the phone is rotated from landscape to portrait mode, or vice versa, while scrolling through the gallery photos.  Do this, and then exiting the gallery and navigating back to the main page causes the embedded splash page to be cropped and left justified.  It seems as if something has happened that has changed the width of the page as reported by javascript, because the embedded media player at top is also affected (going from landscape to portrait mode while viewing the gallery causes it to overflow off the page, while going from portrait to landscape causes the poster image to be sized down).  Zooming in or rotating the phone fixes the issue.  I know that this isn't being caused by the video player, because it also happens on pages that have only photo galleries and no other embeds.  The issue occurs on both Windows and Android phones, but not on iOS.  It only occurs on phones, and not on desktop or larger tablet browsers.

Test (template) page:
http://www.paoprod.com/Projects/Events/ … mplate.htm

Any thoughts on what is happening here and how to resolve it?

I should add that I am using the most recent version of Juicebox-Pro, version 1.4.4.2.