Monday, December 29, 2014

telerik RadEditor ImageManager: Display complete url of image instead of relative url.

ImageManager in Telerik RadEditor adds images to the editor but with related url. which could raise some issues with url rewriting. we can easily resolve this by using ContentFilters attribute. image manager in following editor will add images with complete url only.



<telerik:RadEditor runat="server" ID="EditorImageUrl" ContentFilters="DefaultFilters,MakeUrlsAbsolute">
  <ImageManager DeletePaths="~/DisplayImages" UploadPaths="~/DisplayImages" ViewPaths="~/DisplayImages" />

</telerik:RadEditor>

No comments:

Post a Comment