Made thumbnails work