fix for encoding and thumbnails
error_log fix in encoding
Merge pull request #409 from Ritesh-patel/master

fix for encoding and thumbnails