Update image resolution