adding thumbnails template