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

Error when Upload from Other Website

4 Answers 76 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Leo
Top achievements
Rank 1
Leo asked on 20 Nov 2017, 08:50 AM

I am facing problem and not found the solution yet.

I got this error message when set image manager upload, delete and viewpaths to complete URL "http:/www.mywebsite.com/Folder"

The error message said : " http:/www.mywebsite.com/Folder' is not a valid virtual path in Image manager. "

Is it possible using Image manager to upload file from that URL or just in inside application ?

If Possible, can someone give me sample ?

 

Thanks,

4 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 20 Nov 2017, 09:36 AM
Hello Leo,

RadEditor uses RadFileExplorer to provide file browsing functionality for its dialogs. By design, RadFileExplorer expects a virtual path to be provided to its ViewPaths / DeletePaths / UploadPaths and does not support absolute URL paths.

You can see how to implement RadEditor/RadFileExplorer to work with a custom content provider which will allow it to work with shared and phisycal paths at https://www.telerik.com/support/kb/aspnet-ajax/fileexplorer/details/use-radfileexplorer-with-physical-and-shared-folder-s-paths

Regards,
Rumen
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Leo
Top achievements
Rank 1
answered on 23 Nov 2017, 03:37 AM

Actually what i am looking is embed image from external URL such as : https://imageshack.com/i/pmPalL13j and image render in Radeditor. But i dont find such way to do that. I can do it using other tools such as FCK editor or TinyMCE.

Can you give me just simple sample to do it in Radeditor ?

 

Thanks

0
Accepted
Rumen
Telerik team
answered on 23 Nov 2017, 04:25 PM
Hello,

You can use the InsertImage dialog (<telerik:EditorTool Name="InsertImage" Text="Insert Image Dialog"></telerik:EditorTool>) to insert an image from another site/domain. Here is a video: https://www.screencast.com/t/NPZtLtNpN.

You can see how to enable it in the following demo: http://demos.telerik.com/aspnet-ajax/editor/examples/built-in-dialogs/defaultcs.aspx.

Regards,
Rumen
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Leo
Top achievements
Rank 1
answered on 24 Nov 2017, 02:26 AM
Thank you. This is exactly what i am looking for.
Tags
Editor
Asked by
Leo
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Leo
Top achievements
Rank 1
Share this question
or