Add thumbnail support.