Fixed image upload
Fixed image thumbnail generator
Merge pull request #148 from AntonShevchuk/master

Fixed thumbnail generator