Changing image urls and adding images to repository