<a href="pagina1.php?variable=<?=$tuvariable?>" onFocus="blur()"> <img id="im" src="/img/tuimagen" border="0"></a>