fix for #152: rotate images for correct orientation (gallery)
Merge pull request #408 from ne704/issue_152

fix for #152: rotate images for correct orientation (gallery)