1
pemen
Use of ImageManager
  • 2003/10/22 15:49

  • pemen

  • Not too shy to talk

  • Posts: 186

  • Since: 2002/7/8 7


I would like to use the imagemanager in a form.
A text field that fill automaticaly by the return of ImageManager.
I write a new class FormTextImage.
I don't want the Resized Image use in the imagemanager for the DHTML Text area.

Must I code another image manager file ?

Thanks

2
ackbarr
Re: Use of ImageManager

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 //

Login

Who's Online

142 user(s) are online (81 user(s) are browsing Support Forums)


Members: 0


Guests: 142


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits