Problem
We're maintaining a fixed height of the lead image on iPad, unlike in the various "preview" cards in Explore which maintain a 16:9 aspect ratio. This results in awkwardly short, but very, very wide lead images:
Solution
- On the iPad article view, use the 16:9 aspect ratio for the lead image by default (when the contents pane is open)
- On collapsing the contents pane:
- For non-panoramic lead images (where width:height is less than 2:1) – the 16:9 aspect ratio crop for the lead image is maintained and 'pillarboxed' with gray right and left margins.
Note the image is fit-to-widthwith top and bottom of the image cropped. Face-detection still applies, and is vertical based detection.
- For panoramic images – the image is again centered but scaled to fit the height of the lead image with protruding left and right sides cropped.
Face-detection can still apply, but would be horizontal-based detection.










