adrianlee / super-simple-photo-gallery

A beautiful and easy-to-use image gallery for showcasing your images on a BlackBerry Playbook!
9 stars 2 forks source link

Image aspect ratio #10

Open adrianlee opened 12 years ago

adrianlee commented 12 years ago

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.

adrianlee commented 12 years ago

For now I would lock to landscape orientation.

choiboi commented 12 years ago

So this app can only viewed in landscape mode?

adrianlee commented 12 years ago

Would be nice to maximize images to fullscreen, think there's a way to do that with css