If it just something simple, you can do something easy like this.
A) Write the image data to the database as:
http://www.yoursite.com/uploads/imagename.gif
😎 Call the images like this:
$qry1 = mysql_query("select img from table");
$qry2 = mysql_fetch_array($qry1);
<img border=0 src=$qry2[img]>