I rarely append the actual address to the stored file name in the DB. I actually just call the address wherever I am going to display the image. For example, if the image file you are uploading is in the folder UserImages, I would just have call the folder right in the image tag where it will be displayed like this:
<img src="UserImages/<?php echo $row_queryName['PicColumn']; ?>" />
If you still want to append the URL, I am sure I could tell you how but I would need to see the code generated from DFP 1 since I am using DFP 2, I cannot even remember what was generated in DFP 1. But, I do know that you could concatenate the URL and folder path before the image.