Correctly scale portrait images and centre them