title: How to display Base64 images in asp.net web forms
body: <p>I'm having trouble displaying a Base64 image inline or in css-file.
  i'm using vs-2017.
  Can someone point me in the right direction?</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
   &lt;html&gt;
     &lt;head&gt;
      &lt;title&gt;Display Image&lt;/title&gt;
      &lt;link href="css/StyleSheet.css" rel="stylesheet" /&gt;
     &lt;/head&gt;
    &lt;body&gt;
      &lt;img class="slide1"  alt="" /&gt;       
   &lt;/body&gt;
  </code></pre>
  
  <p>
  In that CSS file some simple code is written that loads the image.</p>
  
  <pre><code>   .slide1 {
       background: url(data:image/png;base64,iVBORw0KGgo)
       }
  </code></pre>
  
  <p>the problem is the image can not loaded or display .
  any advice</p>