Modified thumbnail for d3 gallery