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
Thanks for the reminder, they are checking right now and we should keep it as small as before.