change the ip address and modify the image size