Hi Walter,
I can tell you what I do. I have a part of my programs where the user can "upload" various files (eg. images, PDFs etc). I do this so that these files are "hosted" somewhere, rather than on someones local hard disk.
I then added the additional code into TinyMCE so it knows where to look for these sorts of files, so that you can use the standard TinyMCE image icons and link icons.
Regards
Bill