Fixed: Gallery viewer was showing low-res portrait photos

Gallery viewer now always shows attached images at the highest resolution (800x600 or 600x800).

Before, on devices with screen resolution of 480x800 portrait images were dowloaded at a resolution of 240x320.