adrianlee/Super-Simple-Photo-Gallery — Issue #10: Image aspect ratio
Author: adrianlee
Created: 2012-02-29 07:49:35+00:00
State: open

In landscape mode, for an individual image:

IF image width/height <= 1.33 then display image as two column widths when opened.

IF image width/height > 1.33 then display image as three column widths when opened.

In portrait mode, the viewport has the same width as landscape but scaled down.

OPTION 1: Either resize viewport from 1024x600 to 600x1024
OR
OPTION 2: KEEP constant viewport width, calculate image width based on orientation.