edit image length and width