You can accomplish this with a combination of Digital File Pro and DataAssist.
Digital File pro creates a number of variables when the image is uploaded, Server File name and Upload Directory are two of those. using DataAssist, you can capture those values into your database.
See the "How to apply Digital File Pro to DataAssist Insert and Update pages" tutorial in the how to section of the Digital File pro support page for more details:
digital-file-pro/