Put image back in with correct extension