Fix #1347.
Domain-shard the thumbnail URLs for faster index load.