Fix attached image orientation bug.
Merge pull request #4 from macteo/rotationfix

Fix attached image orientation bug. (thanks)