Thumbnails for d3 gallery