don't bother to insert the image...best to store the path / image name as text in field and store the image a folder....
this is the way the db handles images anyway...it creates a pointer in the blob field and holds the image in a virtual folder...
then simple to query the db and get the name for the image and echo it out
//getting data
while ($rows=mysql_fetch_array($result)){
$img=$rows['image_name']; //ie mypic.jpg
echo "<img src=\"$img\" width=100 height=100>";
}
hth