binding the html to generated thumbnails