prova così
<html>
<head>
<title><?=$conf[title];?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="style.css" type="text/css">
<SCRIPT>
function info(pageURL, w, h)
{window.open(pageURL,'pageTITLE','width=' + w + ',height=' + h + ',top=200,left=210,scrollbars=yes');}
</SCRIPT>
</head>
<? $vett = getimagesize("immagini/$res[immagini]"); ?>
<? echo "; ?>
<TD>
<a href='java-script:info(\"product_info.php?name=$res[immagini], $vett[0],$vett[1]\")'>
<IMG src=\"immagini/$res[immagini]\" width='100' height='100' border='0'></a>
<? $res[img_desc] ?>
</TD>";
fai attenzione a separare il codice html dal codice php che va racchiuso tra <? ...?>
ciao
sergio