tylko w kodzie nie wiele wiecej jest
javascript otwierajacy nowe okno
<script language="JavaScript">
<!--
function displayWindow(url, width, height) {
var Win = window.open(url,"displayWindow",'width=' + width + ',height=' + height + ',resizable=0,scrollbars=no,menubar=no' );
}
//-->
</SCRIPT>
dalej jest wyswietlanie
<?php
$wyswietl_auto=mysql_query(\"select * from auto;\") or die(\"blad w wyswietleniu danych o samochodzie\"); {
....
$foto=$rekord['foto'];
...
?>
<table width="670" border="0" cellpadding="0" cellspacing="0" align="center">
<tr bgcolor="#ffffff" width="670">
<td><a href="java script:displayWindow('okno.php?obrazek=foto',500,500)"><img src="<?php echo "$foto";?>" class="fotolink" style="float : left;" width="160" height="120" alt=""></a></td>
</tr>
</table>