add option to put preview image in a location