change sample image size.