title: Show EMF File in IE 8
body: <p>i would like to show some (about 5 to 10) EMF (Enhanced Metafile) Files in the IE 8.
  I use ASP to get all Files from a defined Folder and show them with the <code>&lt;img src=""&gt;</code> Tag.
  Some of the IMages are really big, so tried to reduce the size by setting its height to 100.</p>
  
  <p>Is this the correct way? The Images load very slow and not all images are loaded. When i remove the height Attribute the Image is loaded.</p>
  
  <p>Can you help me, do it right?</p>
  
  <p>This is the Source:</p>
  
  <pre><code>&lt;HTML&gt;
  &lt;BODY&gt;
  &lt;FORM NAME="alphabetSelection" method="get" action="new2.asp" target="home"&gt;
  &lt;TABLE width="100%"&gt;
  &lt;TR&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=a"&gt;A&lt;/A&gt;&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=b"&gt;B&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=c"&gt;C&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=d"&gt;D&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=e"&gt;E&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=f"&gt;F&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=g"&gt;G&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=h"&gt;H&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=i"&gt;I&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=j"&gt;J&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=k"&gt;K&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=l"&gt;L&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=m"&gt;M&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=n"&gt;N&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=o"&gt;O&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=p"&gt;P&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=q"&gt;Q&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=r"&gt;R&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=s"&gt;S&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=t"&gt;T&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=u"&gt;U&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=v"&gt;V&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=w"&gt;W&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=x"&gt;X&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=y"&gt;Y&lt;/TD&gt;
  &lt;TD width="4.1667%"&gt;&lt;A href="new2.asp?clickedLink=z"&gt;Z&lt;/TD&gt;
  &lt;/TR&gt;
  &lt;/TABLE&gt;
  &lt;/FORM&gt;
  &lt;TABLE width="100%"&gt;
  &lt;TR&gt;
  &lt;TD&gt;Name&lt;/TD&gt;
  &lt;TD&gt;Bild&lt;/TD&gt;
  &lt;/TR&gt;
  
  &lt;%
  var todo=Request.QueryString("clickedLink");
  if(Request.QueryString == "")
  {
      todo = "a";
  }
  ShowFilesWithLetter(todo);
  
  
  function ShowFilesWithLetter(theBeginningLetter) 
  {  
      var folder = 'C:\\Force ASP\\FormularImages'; 
  
      var fso = new ActiveXObject('Scripting.FileSystemObject'); 
      var fold = fso.GetFolder(folder);
      var foundValues = false;
      for (files = new Enumerator(fold.files); !files.atEnd(); files.moveNext()) 
      { 
          Response.Write("&lt;TR&gt;");
          var thisFile = files.item(); 
          thisFile=thisFile.name.toLowerCase();
          if( thisFile.charAt(0) == theBeginningLetter )
          {
              Response.Write("&lt;TD  &gt;" + thisFile + "&lt;/TD&gt;");
              Response.Write("&lt;TD &gt;&lt;IMG height=\"100\" SRC=\"../FormularImages/" + thisFile + "\"  /&gt;&lt;/TD&gt;\n");
              Response.Write("&lt;/TR&gt;");    
              foundValues = true;
          }
      } 
  
      if(!foundValues)
      {
          var theLetter = new String(theBeginningLetter);
          theLetter = theLetter.toUpperCase();
          Response.Write("&lt;TD COLSPAN=\"2\"&gt;&lt;CENTER&gt;No Images beginning with the Letter: " + theLetter  + " &lt;/CENTER&gt;&lt;/TD&gt;");
      }
  }
  %&gt;
  
  &lt;/TABLE&gt;
  &lt;/BODY&gt;
  &lt;/HTML&gt;
  </code></pre>