for uploading images to the server and storing the file name in the database, see the Applying Upload or Download to data assist pages tutorial:
http://www.webassist.com/tutorials/Apply-file-upload-or-download
for details on using the file name from the database and showing the image on a page, see the Database starter kit tutorial:
http://www.webassist.com/community/tutorials/view_tutorial.php?tid=104