title: How to use image resource in asp.net website?
body: <p>I have a c# site which makes use of a lot of images with embedded english text.  </p>
  
  <p>How can I use a standard resource file to swap out images depending on the language?</p>
  
  <p>I have a resx file in my App_GlobalResources directory, but I can't seem to get it plugged into an asp:image control for the imageurl correctly.</p>
  
  <p>Ideas?</p>
  
  <p><strong>UPDATE:</strong> </p>
  
  <p>For some further information, here is the image tag code:</p>
  
  <pre><code>&lt;asp:image runat="server" ID="img2" ImageUrl="&lt;%$Resources: Resource, cs_logo %&gt;" /&gt;
  </code></pre>
  
  <p>The result on the client side is:</p>
  
  <pre><code>&lt;img id="img2" src="System.Drawing.Bitmap" style="border-width:0px;" /&gt;
  </code></pre>
  
  <p>Note that the source is obviously not what I expected...</p>