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

Path From Image Manager

1 Answer 72 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Randy
Top achievements
Rank 1
Randy asked on 23 Feb 2009, 03:24 PM
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

Sort by
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.

Kind regards,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Editor
Asked by
Randy
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or