My previous post from yesterday (which I have since deleted to avoid confusion) referred in error to a different bug.
Sorry for the incorrect response and any inconvenience caused.
The bug which I originally referred to (whereby the value of the expandInNewPage configuration option could change the scale of the embedding page) should affect only iOS devices.
If expandInNewPage="FALSE" and an iOS device is detected, then Juicebox dynamically sets the following meta viewport tag which may change the scale of the page.
<meta id="jb-viewport" name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
More information on expanding galleries on iOS can be found here.
This problem should not affect Android devices so the original problem you encountered could be due to something else.
Did my original suggestion of changing the value of expandInNewPage make a difference?
You did not initially post back or provide the URL to your gallery so it appeared that you may have found a solution or workaround for your problem.
If you could please answer the following questions, we might have a better idea of what could be causing your problem.
Do you see the problem in any of our own v1.4.2 demo galleries here?
Does the problem occur in just Chrome or also in the Android stock browser?
Does the problem occur in a 100% x 100% size gallery (where the gallery is the only element on the web page, filling the page) or only in a gallery embedded in a web page alongside other content?
Also, in case the problem is somehow related to invalid HTML code, you could try validating your web page with the W3C Markup Validation Service and fix any errors reported. Once the code on your web page validates correctly, your web page should be rendered with greater predictability and consistency across different browsers.
The problem may also be due to a CSS conflict. There may be some custom CSS code on your web page which the Juicebox gallery is inheriting and which is causing the layout of your gallery to change. If you have any global CSS rules (which might, for example, affect all <div> or <img> tags on your web page, including those within the Juicebox gallery), then try applying these CSS rules to only those elements on your web page which require them through use of CSS selectors.
In order to investigate your problem further, I would really need to see the problem for myself so, if possible, please
reproduce a gallery with the problem you originally reported and then post back with its URL (and upload a screenshot somewhere showing what you are seeing) so that I can take a look and hopefully help further.
Also, please let me know what device and version of Chrome you are using. (The more information we have, the better.)
Thank you.