Centralize thumbnail processing.