Bug 983172 - Parsing jpeg header information for downsampling the image for thumbnail

- Use image_utils lib for generating the thumbnail
- Use fixed thumbnail size and update the styling
Since the url is the combination of the blob url and sample size, it should not contain utf-8 encoding char that need to be replaced.