attach thumbnails