title: ASP.net image server map and local
body: <p>Hey all i am trying to figure out the best way to get my URL for the image to be displayed.</p>
  
  <p>Below is my URL in code behind:</p>
  
  <pre><code>imgURL = Request.ApplicationPath &amp; "public/themes/_images/" &amp; theCatagory &amp; "_" &amp; productName &amp; ".jpg"
  </code></pre>
  
  <p>However, it only produces <strong>/public/themes/_images/hoods_Fire-Star.jpg</strong> when i am looking to get <strong>http://www.blahblah.com/public/themes/_images/hoods_Fire-Star.jpg</strong></p>
  
  <p>I save the image like so to the database:</p>
  
  <pre><code>Request.ServerVariables("APPL_PHYSICAL_PATH").ToString.Replace("\admin", "") &amp; "public\themes\_images\" &amp; theCatagory &amp; "_"
  </code></pre>
  
  <p>That places it here: <strong>C:\Clients\theclient\blahblahblah.com\public\themes_images\hoods_Fire-Star.jpg</strong></p>
  
  <p>So what do i need to put in the code behind in order to get that URL path with the http?</p>