codice:
<html>
<head>
<script>
/** 
Una versione di popUp a seconda della grandezza immagine   :p 
author=tridi9
imageName=nome immagine
alt=descrizione immagine, sarà il titolo dell popup
posLeft=posizione popup da sinistra
posTop=posizione popup da destra
**/
function openPicture(imageName,alt,posLeft,posTop)
{
immagine =  new Image();
immagine.src = imageName;//url immagine
imageWidth=immagine.width ;//lettura W
imageHeight=immagine.height ;//lettura H
//Se l'immagine non è completata
if(!immagine.complete){
	alert("impossibile visuallizare il dettaglio");
	return;

}
else{//Apertura popUp
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html>\n<title>'+alt+'</title>\n<body bgcolor="#FFFFFF"   onBlur="self.close()">');
	newWindow.document.write('\n<img src=\"'+imageName+'\"  alt='+alt+'>');
	newWindow.document.write('\n</body>\n</html>');
	newWindow.document.close();
	newWindow.focus();
}

}
</script>
</head>
<body>
<table>
<td>

	<a href=#>
		[img]image.gif[/img]</a>
</td>
<td>
	<a href=#>

		[img]ImageWithProblems.gif[/img]</a>
</td>
</table>
</body>
</html>
                                                  :ciauz: