How do you get the URL type not to overird the Image Gallery path?

  •  03-18-2010, 12:48 PM

    How do you get the URL type not to overird the Image Gallery path?

    No matter what I do to  try and set the image gallery path the Editor.URLType over rides it.  If I set the URLType to default the link button on the toolbar will work the way I want it but when I use the image upload/insert or the file insert then the source that points to the files becomes relative and I am not storign the files and pictues in the project directory.   The help says to use this to set the image gallery path 
    editor.ImageGalleryPath = "/Uploads"  When I try this it tells me that imagegallery is not a member of cuteeditor.editor so I had to use   Editor1.Setting("security:ImageGalleryPath") but that doesnt work either.

    this is what the html view shows
    <div><a title="google" href="www.google.com">google</a> </div>
    <div>&nbsp;</div>
    <div><img border="0" alt="" src="http://cutesoft.net/uploadstest/1.jpg" width="215" height="300" /></div>
     
     this is what it show if I change the URLType to Absolute
    <div><a title="google" href="http://localhost/BroadcastEmail/www.google.com">google</a></div>
    <div>&nbsp;</div>
    <div>&nbsp;</div>
    <div><img border="0" alt="" src="http://localhost/uploadstest/1.jpg" width="215" height="300" /></div>
     
    Waht I need it to show is
     this is what it show if I change the URLType to Absolute
    <div><a title="google" href="www.google.com">google</a></div>
    <div>&nbsp;</div>
    <div>&nbsp;</div>
    <div><img border="0" alt="" src="http://localhost/uploadstest/1.jpg" width="215" height="300" /></div>
     
    If I change the URL Type to Absolute then the image upload/insert and fiel insert work but the link button does not create the correct url.  It adds the directoy path to the link?
     
    Any Ideas, thanks
     
View Complete Thread
Powered by Community Server (Commercial Edition), by Telligent Systems