replace network images path with local path