Generate links to thumbs