Fixes issue with landscape pictures. Supports both portrait and landscape now ;)

To update, simply overwrite the old code with the new.

More...