I’m trying to mess with doing a gallery style app and some of the photos are landscape, the others portrait. The photos look best when they are full screen.
So lets say the phone is in a landscape mode, and I create a new display.imageRect() so it fits the vertical photo in landscape mode, I’m going to get a lot of black space, but more importantly it won’t resize when I rotate the phone.
What is the best way to do this? Should I load it in a full size, then scale it to where it fits, then setup a listener on orientation and rescale the image?
[import]uid: 19626 topic_id: 20481 reply_id: 320481[/import]
[import]uid: 52491 topic_id: 20481 reply_id: 80313[/import]