How to load images from relative URL

I’ve configured proxy into my app as below

"proxies": [
      "path": "/path",
      "proxyUrl": ""

Now, whenever i try to bind the image, i assumed that it will work like baseURL+relativePath.

<ion-img [src]="r.image"></ion-img>

Since am newbie, i would like to know where i am lacking, as i thing its not the correct way to do so.

While debugging i found final url be like http://localhost:8000/relativeURL