title: Image not showing up in runtime
body: <p>I'm trying to display an image from the folder which is created under the project directory by name Images. </p>
  
  <p>I'm trying to access <code>star.gif</code> which is inside the Images folder.</p>
  
  <p>Here is my small piece of code for accessing the images</p>
  
  <pre><code>TableCell tc=new TableCell();                  
  
  for (int j = 0; j &lt; i; j++)
  {
  
      System.Web.UI.WebControls.Image rating = new System.Web.UI.WebControls.Image();
      rating.ImageUrl = Server.MapPath("~/Images/star.gif");
      rating.ID = j.ToString();
      rating.AlternateText = "No image";
  
      tc.Controls.Add(rating);
  }
  </code></pre>
  
  <p>I even set the authorization in <code>web.config</code> but its of no use.</p>
  
  <p>Kindly tell my mistake in the code.</p>