Thumbnail class.