Here is the original script, available under GPL:
[url removed, login to view]
It is an image gallery manager, with thumbnail generation.
All I need is to nave, at the bottom of the page generated by Qdig, a couple of textarea fields filled with the URL of the current image and the path of the corresponding thumbnail, ready to be copied and pasted in forums (like the image hosting services do, see i.e. [url removed, login to view] - try to upload an image and see, in the target page, the four textarea fields. I need the same fields at the bottom of qdig).