adding thumbnail support to domain object