Add thumbnails class.