modify the preview image