title: <img> tag in masterpage does not show logo when called from IIS virtual folder?
body: <p>It works fine when I dont use virtual folder. My virtual folder is named test which points to an application inside MyDocuments. The path to my App is</p>
  
  <pre><code>localhost\test\app\login.aspx
  </code></pre>
  
  <p>Note that if I move the application in the root folder wwwroot and make it an application, it works fine. I tried</p>
  
  <pre><code>&lt;img src="logo.jpg" /&gt;
  &lt;img src="..\logo.jpg" /&gt;
  &lt;img src="~/logo.jpg" /&gt;
  &lt;img src="\\test\logo.jpg" /&gt;
  </code></pre>
  
  <p>Can it be fixed or should I leave it? My logo.img is in root folder of the application. I move it to \images\ folder as well still does not work.</p>
  
  <p>There is a similar post here <a href="https://stackoverflow.com/q/1506408/777982">Relative Path in master page for img tag</a> which did not solve my problem because it does not use Virtual Folder path.</p>
  
  <p>Edit: I did used  tag also and it did not work too.</p>
  
  <pre><code>&lt;asp:Image ID="imgLogo" runat="server" ImageUrl="~/logo.jpg" /&gt;
  </code></pre>
  
  <p>Thanks in advance</p>