Fixed image appear

We fixed the function that makes the image in the thumbnail appear.