Added thumb class to image.