I own a wallpaper site and the code I use for my thumbnails is:
<a href="#" onClick="window.open('wallpaper.php?wallpaper=a/ali_landry_zg5sjdy6.jpg','11','width=400,height=350,toolbar=yes,scrollbars=yes,status=yes,resizable=yes')">
<img border="1" src="amini/ali_landry_zg5sjdy6.jpg" style="border-style: solid; border-color: #00689F" width="70" height="53"> </a>
As you can see the name of the thumnail and the full size wallpaper are exactly the same.
However, when adding a large number of wallpapers there are often typing errors in the link URL.
Is there anything I can do which calls the name of the thumbnail into the link URL, therefore I am certain the the link will go to the correct place?