change path of urls for images