allowed 0 height or 0 width for thumbnail
Merge pull request #19 from Shehbaz/zeroheightorwidth

allowed 0 height or 0 width for thumbnail