Un link immediato no, perchè è all'interno di un form più complesso.
Però posso allegare qui l'estratto in oggetto dalla mia pagina.
Se non ti scoccia potresti fare un copia-incolla come pagina html.
Attenzione che forse nella funzione preview2 c'è un a capo nell'alert che in realtà non esiste.

codice:
<html>
<head>
</head>
<body >
<script language="Javascript">
function preview1() 
{
  Img1= new Image(100,50)			  
  Img1.src = "logo-iniziale.gif"      
  Img2 = document.f.foto1.value   
	document.images['swap1'].src = Img2; 
//  document.swap1.src = Img2;          
  return true;
}
function preview2() 
{
  Img5= new Image(100,50)			  
  Img5.src = "logo-iniziale.gif"     
  Img6 = document.f.foto2.value   
  document.images['swap2'].src = Img6;          
  alert("Le dimensioni attuali sono di " + document.images['swap2'].width +"x" + document.images['swap2'].height + " 

pixel");
  return true;
}
</SCRIPT>
<form name="f" method="post" action="xxxxxxxxxx.asp" enctype="multipart/form-data">
<table align="center" border="0" width="100%">
<tr>
<td bgcolor="#FEF4CD" valign="top">Carica foto 1:</td>
<td bgcolor="#FEF4CD" valign="top"><input class="inputBox" type="file" size=50 name="foto1"  Onchange="preview1()">

[img]logo-iniziale.gif[/img]			
</td>
</tr>	
<span id="prev">
<tr>
<td bgcolor="#FEF4CD" valign="top">Carica foto 2:</td>
<td bgcolor="#FEF4CD" valign="top"><input class="inputBox" type="file" size=50 name="foto2" Onchange="preview2()">

[img]logo-iniziale.gif[/img]			
</td>
</tr>	
</span>
<tr>
<td colspan="2" align="center">
<input class="inputSubmit" type="submit" name= "Go" value="Invia">
</td>
</tr>
</table>		
</form>
</body>
</html>
Grazie in anticipo per tutto e scusa il disturbo.
Ciao !