use local url for gallery when running locally