Topic: iOS9: Thumbnail and Image Cropping in Old Gallery [SOLVED]

Steven, et al.:

I have many old, stand-alone (i.e., not embedded), galleries. These have had their jbcore sub-directories updated as new Juicebox (Pro) releases have been issued.

On my iPhone6, recently updated to iOS9, I was just looking at one of them: http://www.billanddot.com/crossing-signs/index.html . On my PC (Windows Vista Home Premium SP2 32-bit, Firefox 40.0.3) it looks fine.

On the iPhone, there seems to be centering and cropping of the image when in vertical mode, and centering and cropping of the thumbnail page in both vertical and horizontal mode. I have uploaded four screen grabs of this situation:

http://www.billanddot.com/IMG_2051.PNG
http://www.billanddot.com/IMG_2052.PNG
http://www.billanddot.com/IMG_2053.PNG
http://www.billanddot.com/IMG_2054.PNG

I can't say for certain that this is an iOS9 problem, because I haven't looked at that gallery on my iPhone in a while, certainly not since some interim iOS8 releases.

On the other hand, recently created or updated galleries (and all with virtually identical configuration options) seem to work fine on the iPhone. My most recently created gallery, for instance, is this one: http://www.billanddot.com/2015-08-25-No … Track-Day/ .

And of course I have cleared Safari's cache before doing this experimentation on the iPhone.

I'd appreciate any thoughts you may have on this.

Thanks,

Bill P.

Re: iOS9: Thumbnail and Image Cropping in Old Gallery [SOLVED]

Please see this blog entry regarding Juicebox and iOS 9.
It should hopefully explain and solve your problem.

Re: iOS9: Thumbnail and Image Cropping in Old Gallery [SOLVED]

Steven wrote:

Please see this blog entry regarding Juicebox and iOS 9.
It should hopefully explain and solve your problem.

Steven: as always, thanks for your prompt and thorough response.

I have two follow-up questions:

1) I saw the thread the other day ( http://juicebox.net/forum/viewtopic.php?id=1960 ) about some problems with iOS9, and your response, with the additional meta data in the Head section. I didn't realize that the swiping problem there was related to the size problem.

After reading the blog entry, I'd like to confirm that the new meta info also relates to the thumbnail page, not just image pages. That's the case, correct?

2) My usual method of dealing with releases is to overwrite the jbcore sub-directory in all my galleries, using the jbcore of the new release. Is the Is the new HTML meta data regarding this "hotfix" in the file /res/juicebox/jbcore/full.html, meaning that my jbcore replacement strategy will still work, or does a gallery actually have to be re-generated in order for the hotfix to work?

Thanks again for your time,

Bill P.

Re: iOS9: Thumbnail and Image Cropping in Old Gallery [SOLVED]

After reading the blog entry, I'd like to confirm that the new meta info also relates to the thumbnail page, not just image pages. That's the case, correct?

Yes. That is correct. The meta viewport tag is required for the overall gallery size to be correct.

Is the new HTML meta data regarding this "hotfix" in the file /res/juicebox/jbcore/full.html

The meta viewport tag is in the 'full.html' file but it has always been there. The 'full.html' file is used only when the gallery is expanded (from the Splash Page or the Expand Button) in a new page.
The meta viewport tag must now also be included in the HTML document that the gallery is embedded into. Unfortunately, this can no longer be done from within the 'jbcore' folder. The 'juicebox.js' file adds the meta viewport tag dynamically into the web page but the problem is that iOS 9 no longer respects this, hence it now needs to be done manually.

meaning that my jbcore replacement strategy will still work, or does a gallery actually have to be re-generated in order for the hotfix to work?

Replacing the 'jbcore' folders will not work. The core Juicebox files remain unchanged from the v1.4.4.1 release to v1.4.4.2.
You could certainly rebuild your galleries (with JuiceboxBuilder-Pro or the jAlbum plugin, both of which have been updated) but all that is required is to insert the meta viewport tag into the <head> section of the gallery web pages.

Re: iOS9: Thumbnail and Image Cropping in Old Gallery [SOLVED]

I follow you. Looks like I may write another python script for this, or else I'll have to manually edit 80 or so galleries. Or, as you note, regenerate them all in jAlbum; that will be a bit tiresome, but may not be a bad thing, because I've been refining the Options settings as I've been making more recent galleries.

Thanks for the clarification and quick response.

Cheers,

Bill P.

Re: iOS9: Thumbnail and Image Cropping in Old Gallery [SOLVED]

You're welcome.
I hope it won't take you too long to adjust your web pages.