add support for thumbnails