That's correct, you should upload the files to the server and store the relevant information that you might need about the image in the database. You can find the information about an uploaded file in the bindings panel.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.