title: remove part of jQuery base uri when changing src of an img tag
body: <p>In a multilanguage website when changing the img.src attribute in jQuery, it looks for <code>base url + src</code> which becomes something like <code>http://localhost/app/en/resources/images/img.jpg</code> assuming <code>base url</code> is <code>http://localhost/app/en/</code> and <code>src</code> is <code>resources/images/img.jpg</code>
  <br/>In fact the <code>img.jpg</code> file is not under <code>en</code> folder so this should be omitted from the above location. <br/>How can I do this?</p>