fixed local image support