allow trimming of image