fixed: no thumbnails were created for images which need to be rotated by FlipHorizontal, FlipVertical and Rotate180CCW + a small refactor.
Merge pull request #2109 from wsoltys/image_orientation

fixed: no thumbnails were created for images which need to be rotated by...