title: Pop-up window when clicking on an image in my HTML page
body: <p>I know this question has been asked before, but mine is a little different.</p>
  
  <p>I know tthat to do a popup of a thumbnail i have to use Javascript and give te image location.  however, what i want to do is this;</p>
  
  <pre><code>&lt;IMG SRC="test.png" ALT="test1" WIDTH=32 HEIGHT=32 onclick="openWin(test.png)"&gt;&lt;/a&gt; 
  </code></pre>
  
  <p>where test.PNG is a picture i just queried from the database in SQLPLUS.  i do not have a local copy and i do not know the path to id.  when i write the javascript function for this, i wrote:</p>
  
  <pre><code>&lt;script language="JavaScript"&gt;
  
  function openWin(img) {
      window.open(img);
  
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>however, i keep getting a URL\image.png does not exist.  How can i get this working?  it has to work for an arbitrary number of images, depending on how many actually meet the requirements of the query.</p>
  
  <p>the test.png does not actually exist, i wanted to see becuase it shows as a broken image icon in my table, but when i click on it, it says the URL does not exist.</p>