Create and persist thumbnail