web - Using <base> tag in html does not work when calling an api -


i want run calls outside of web service through website proxy. call proxy http://localhost/proxy?url=http://www.somewebsite.com/ .

my problem lies when want route resources through proxy. add base tag html page so,

<base href = "http://localhost/proxy?url=http://www.somewebsite.com" /> 

in order call image @ http://www.somewebsite.com/someimage.jpeg so,

<img src = "someimage.jpeg" > 

this doesn't work , tries image http:localhost/someimage.jpeg

is there way make base tag work or have other technique.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -