fix thumbnail upload
Merge pull request #532 from LipuFei/fix-thumb-upload

fix thumbnail upload