|
Rank: Member Groups: Member
Joined: 4/15/2009 Posts: 13
|
Hi Support , hope you are well.
My question is about the best way to insert an image via the Insert Image button the the toolbar.
I have an eo.web.Dialog on the form and assigned the editor.FileExplorerDialogID to the Dialog.
This works fine except I am un-clear as to how to display a local file explorer pop-up so the user can upload a local file ?
Thanks for any help.
Reza
R Khan
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, I am not sure whether I got your questions correctly. The default insert image button already has a browse file button. That would bring the FileExplorer and allows you to upload file on the fly. If you wish to customize that, you can right click the dialog and then choose "Customize Dialogs...". That should give you more details about how to customize it. Once you follow the steps to copy the default content template for the "Insert/Edit Image" dialog, you will see that the browse button calls the following JavaScript function to invoke the FileExplorer: http://doc.essentialobjects.com/library/1/jsdoc.public.editor.browsefile.aspxThanks!
|
|
Rank: Member Groups: Member
Joined: 4/15/2009 Posts: 13
|
many thanks , will take your advice. Reza eo_support wrote:Hi, I am not sure whether I got your questions correctly. The default insert image button already has a browse file button. That would bring the FileExplorer and allows you to upload file on the fly. If you wish to customize that, you can right click the dialog and then choose "Customize Dialogs...". That should give you more details about how to customize it. Once you follow the steps to copy the default content template for the "Insert/Edit Image" dialog, you will see that the browse button calls the following JavaScript function to invoke the FileExplorer: http://doc.essentialobjects.com/library/1/jsdoc.public.editor.browsefile.aspxThanks!
R Khan
|
|