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

Full urls for image contents

2 Answers 34 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Diego
Top achievements
Rank 1
Diego asked on 07 Nov 2008, 02:03 PM
Hi!

I'm using RadEditor for creating an email template editor. The problem is that the images embedded in the html are referenced like this:

<img src="/DEMO/uploads/images/123.jpg" /><br /> 

How can i do make the radeditor resolve those paths to the full url?

something like:

<img src="http://localhost:4222/DEMO/uploads/images/123.jpg" /><br /> 

Thanks!


2 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 10 Nov 2008, 04:11 PM
Hi Diego,

You can use RadEditor's MakeUrlsAbsolute content filter. This filter makes all src and href attributes in the editor content have absolute URLs. For more information on Content Filters visit our online help at http://www.telerik.com/help/aspnet-ajax/contentfilters.html

I hope this helps.

All the best,
Stanimir
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Diego
Top achievements
Rank 1
answered on 18 Nov 2008, 01:38 PM
Thanks! that worked perfect!
Tags
Editor
Asked by
Diego
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Diego
Top achievements
Rank 1
Share this question
or