added thumbnail to html