[MS] Generate thumbnail.