add links to thumbnails