Made minor change to improve the display of thumbnails.