making image local