Adjust image size.