Problem inserting relative links for images

  •  09-28-2005, 9:20 PM

    Problem inserting relative links for images

    I'm using Cute Editor for ASP v4.2.
     
    I was using version 4.0 before and this worked fine, but now with the new version I am running into problems.  If I insert an image using a relative path, for some reason the editor changes it to an absolute path.
     
    For example, I insert: /uploads/image1.jpg
    Then I click over to HTML view and see: <img src="http://localhost/uploads/image1.jpg">
     
    In version 4.0, the HTML view shows: <img src="/uploads/image1.jpg">
     
     
    Is there any way I can alleviate this problem in the new version of the editor?  I tried using the editor.BaseHref and setting it equal to "", but that didn't work.  I looked at include_CuteEditor.asp and saw that the variable s_UseRelativeLinks = true.
     
    Thank you,
    Nathan
View Complete Thread