2
The javascript code to open the imagemanager in a forum post looks like this:
openWithSelfMain("http: //www.xoops.org/imagemanager.php?target=message","imgmanager",400,430);
Notice the the url specified in the first parameter includes a variable named target (currently set to 'message'). This variable specifies which page element to write the image bbcode into. So if you wanted to link the imagemanager to a textbox named "myImage" the javascript to open the image manager would look something like this:
openWithSelfMain("http: //www.xoops.org/imagemanager.php?[b]target=myImage[/b]","imgmanager",400,430);
* Spaces were added to the url's above to avoid url detection. To use this code, remove the space between http: and //