Changed the thumbnail class