Fix typo in sprintf (fixes #7)
Fix orientation check and image path (fixes #8, fixes #9)
Merge branch 'hotfix/1.11.7'