This is a migrated thread and some comments may be shown as answers.

Ability to "paste" image into Editor

1 Answer 66 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 12 Jan 2009, 07:07 PM
Is there are way to allow the user to "copy" their screen (using PrtScrn button), and then "paste" the image into the dialog box? There would probably need to be a Java or ActiveX control to grab the image buffer from the client machine.

Thanks,
Jay

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 13 Jan 2009, 04:26 PM
Hi Jay O'Brien,

The images pasted / inserted in RadEditor should be accessible via the HTTP protocol and they must be uploaded on the server.
Unfortunately the automatic image upload to the server is not possible with javascript code, because Javascript cannot access the local file system from outside - it would be a major security violation.
The automatic image upload cannot be implemented without using ActiveX or some other software, installed on the client, but we do not use either technique because of browser compatibility and that the ActiveX components are forbidden by the corporate networks.

What we suggest is to paste the screenshot in MS Paint or another similar program, save it to your hard disk and manually upload the saved image via the Upload functionality of the RadEditor's Image Manager dialog. After that you will be able to insert the image into the content area of RadEditor.


 
All the best,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Gary
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or