Is there a way for the Image manager to return the Physical Path instead of the relative path to the image?
For example I would like it to return <img src="C:\images\MyImage.jpg"></image>
1 Answer, 1 is accepted
0
Rumen
Telerik team
answered on 26 Feb 2009, 11:11 AM
Hi Randy,
RadEditor is a web based editor, which loads (displays) files using the HTTP protocol.
It
is not possible to access and produce content that contains images
referring to your local drive, because the images will only be visible
if the html content is accessed from your own computer - and the images
will be invisible for any other users accessing the same content from
other machines.
Nevertheless, if you need to insert images whit
physical paths then you could implement a custom file browser content provider which will insert images with the desired paths.
Once again, please, note that if you insert images with physical paths pointing to a local hard disk then they will be not displayed in the editor and will be not accessible for the other users.