how do i open a thumbnail into a new window 
<p>I'm currently trying to populate a table with thumbnails which point to images in my server and open each in its own window when its clicked.</p>

<p>I can use </p>

<pre><code>echo '&lt;td align="center"&gt;&lt;a href="' . $big . $newFile . '" target="_blank"&gt;&lt;img src="' . $images . $file . '" /&gt;&lt;/a&gt;&lt;/td&gt;';         
</code></pre>

<p>which works but i want the new window to be resized. I decided to use javascript and i have a script called showImg to show my new window. The thumbnails show but when i mouseover the thumbnails i don't get the onclick functionality to work. Any leads?</p>

<p>The code below is what i'm trying to work with</p>

<pre><code>echo '&lt;td align="center"&gt;&lt;img src="' . $images . $file .      '"onclick="showImg(this.src,400,400,"' . $big . $newFile . '");"&gt;&lt;/td&gt;';
</code></pre>

<p>Thanks</p>
