Add options to thumbnails plugin