Il codice che ho usato io è questo:
<body class="body" onLoad="MM_preloadImages('img_fixed/q1_on.gif','img_fixed/q2_on.gif','img_fixed/q3_on.gif','img_fixed/q4_on.gif','img_fixed/q5_on.gif','img_fixed/q6_on.gif')">
...
<a href="home.php?mod=bio" onMouseOver="MM_swapImage('q1','','img_fixed/q1_on.gif',1)" onMouseOut="MM_swapImgRestore()">[img]<?php echo $img1 ?>[/img]
Nel tuo caso, prova a mettere <a href> dentro al div e subito prima di <img>.
![]()