Added option for creating thumbnail captions