Welcome Guest Search | Active Topics | Sign In | Register

eo.web.editor Options
Reza Khan
Posted: Monday, April 27, 2009 4:59:13 AM
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
eo_support
Posted: Monday, April 27, 2009 7:39:05 AM
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.aspx

Thanks!
Reza Khan
Posted: Monday, April 27, 2009 8:15:27 AM
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.aspx

Thanks!


R Khan


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.