Topic: Switching between landscape and portrait view on mobile crops image
If I load my gallery on an iPhone, holding the phone in a portrait orientation, the images look fine. Likewise, if I load the page holding the phone in a landscape orientation (a less likely scenario).
But if I do either of the following:
- load the page holding the phone in portrait mode, tilt the phone into landscape view, then tilt back into portrait mode
- load the page in landscape mode, then tilt the phone into portrait mode
the image ends up getting cropped. Seems as if it is continuing to display it at the proper size for landscape mode, but within the proper sized frame for portrait mode. So it's getting majorly cropped (perhaps 1/4 of the image is visible).
The issue exists on both Chrome and Safari on iOS.
Here's the page I'm testing:
http://www.erikarand.com/juicebox-test