WIP: fix the rotated thumbnails.
Merge branch 'master' of github.com:kcl-ddh/digipal