title: Image wont show on visual studio design time
body: <p>I have a <strong>virtual directory</strong> on my <strong>iis</strong> <em>-portal</em>, which contains images. I put an image tag in my asp.net form.</p>
  
  <pre><code>   &lt;img src="http://localhost/portal/images/button_right.gif" alt="Alternate Text" /&gt; 
  </code></pre>
  
  <p>This is the code: </p>
  
  <pre><code>&lt;%Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication15.WebForm1" %&gt;    
      &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; 
      &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; 
      &lt;head runat="server"&gt; 
          &lt;title&gt;&lt;/title&gt; 
      &lt;/head&gt; 
      &lt;body&gt; 
          &lt;form id="form1" runat="server"&gt; 
          &lt;div&gt; 
              &lt;img src="http://localhost/portal/images/button_right.gif" alt="Alternate Text" /&gt; 
          &lt;/div&gt; 
          &lt;/form&gt; 
      &lt;/body&gt; 
      &lt;/html&gt; 
  </code></pre>
  
  <p>The image shows when I run the project, on the browser.
  The image doesnt show in design time. - I see X, instead of an image.
  I set all read write execute permissions alowed o the virtual directory.</p>