The handiest way of working it from your current progress would be this:
When you store the location of the image in the database (the image is still on the server though, output the location into an image tag in html.
That will make it appear on the site.Code:<?php echo '<img src="' . $image_addr . '" border="0" />'; ?>