Edit image paths to url