Added support for landscape images.