Topic: Oddity When Previewing for IOS Devices

I'm currently rebuilding my site offline and have come across something very strange. I went to d/l the 1.4 release but found I had done so but I just hadn't gotten around to it. It might have been a good thing considering the problem I just unearthed.

On my site I use a common jbcore folder location which is referenced on each web page where a gallery is embedded via baseUrl. I have been previewing my pages offline by opening them up in Safari on the Mac I'm authoring the pages.

While using jbcore 1.3.3 when I changed the browser's user agent to iPhone and load the page I would get the splash that states the name of the gallery, the number of images and the VIEW GALLERY link. Clicking the link would open the gallery's first image and give me the show thumbnails and close gallery buttons on the upper right. Clicking on the right button to go to the next image doesn't work. More importantly, which might be a clue, the page's URL gets appended with #expanded.

When I replaced the jbcore folder with the 1.4 version and reset my web browser I get a similar splash page after I change the user agent in the browser to iPhone. When I click the VIEW GALLERY link instead of getting the gallery like I did with 1.3.3 I get a completely white screen. Also, instead of getting the #expanded text appended to the gallery page's URL the page URL changes to the full.html located in the jbcore page. If I look at the source in the browser it appears it is indeed the full.html page from the jbcore folder.

I rolled back to the 1.3.3. jbcore folder as this appears to solve the display bug. Can somebody clarify what might be happening and if there's some sort of workaround (or is this expected behavior?).

Thanks in advance,

Bill

Re: Oddity When Previewing for IOS Devices

When expanding a gallery on an iOS device, Juicebox will expand the gallery in a new page by default (using the 'full.html' file) as if setting expandInNewPage="TRUE". Please see the Expand Gallery Behavior support section for details.

Expanding in a new page works only when the gallery has been uploaded to a web server (and not locally on your own computer) so everything should work OK once you upload your gallery.

Re: Oddity When Previewing for IOS Devices

Thanks for the info. With that in mind I guess I'll have to wait until I loft my pages on to a web server to test it.

With that in mind, if I run a local instance of Apache on my machine instead of simply opening the local pages from within browser will I be able to successfully preview the pages using the IOS user agent in my browser?

Re: Oddity When Previewing for IOS Devices

As long as you can view your gallery in a browser using either the http:// or https:// protocol, the expand in new page functionality should work OK.