Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
When used from the file manager it's opened with the following code
var imageEditorUrl = EPi.ResolveUrlFromUI("Edit/ImageEditor/ImageEditor.aspx");
EPi.CreateDialog(imageEditorUrl + "?img=" + filePath + "&openedfromfilemanager=true", OnEditImageCompleted, null, {src: filePath}, {width: width, height: height});
where width and height are the dialog dimensions and filePath is the path to the image.
Has anyone tried using the ImageEditor dialog (UI/Edit/ImageEditor/ImageEditor.aspx) from code?
To be more specific: what javascript dialogArguments is necessary to use this dialog from outside the wysiwyg editor?