add caption mode for image-preview

see readme for more information