Hi utomo > where i must put command <img src="detail.php?oid='.$oid.'"> ??? I am talking of two files. The first file is a normal php/html file where you place the <img> tag to display the images. This file is calling the display routine in the second file within the <img>-tag. http://www.pgsql.info/dpunkt/showsource.php?datei=images.php is an example for the file with the <img> tag. It calls the display routine 'bildzeigen.php' with the oid as first parameter ($bild contains the oid): echo '<td><img src="bildzeigen.php?bild='.$bild.'" '.$zeile["htmlstr"].'></td></tr>'; http://www.pgsql.info/dpunkt/showsource.php?datei=bildzeigen.php is the routine which displays the image, called from the <img> in the above file. http://www.pgsql.info/dpunkt/images.php is the working example. I hope this makes it clear. Regards Conni