make image local