Added support for vertical images
Added support for vertical images

To display a vertical image on a vertical monitor, it is necessary to
rotate it 90 degrees.

Also added a size limit on the images. A particularly large image would
cause the processing to crash from insufficient memory.

EdLeafe/photoviewer,EdLeafe/photoviewer,EdLeafe/photoviewer