<img src="<!--#echo var="QUERY_STRING"-->.jpg">
Then you can use a simple <A HREF> reference to call the page. An example of a URL use would be:
<A HREF="http://www.bohem.nu/cards/valj.shtml?12">
XSSI Library:http://www.ordersomewherechaos.com/rosso/xssi/