added thumbnail to the image