Supongamos aun estas con tu problema necesitaba algo igual tome tu codigo y para mostrar la imágenes lo deje así:
Código PHP:
Ver original$sql = mysql_query("SELECT * FROM imagen WHERE nombre = '".$nombre."'");
$filas=mysql_fetch_array($sql);
$mostrar=$filas['nombre'];
$url="./uploads/".$mostrar;
?>
<html><body>
<br>
<?php echo "<img width=88 height=80 src=".$url.">"; ?>
</body></html>