add image/video thumbnail support