problems with image paths.

  •  03-11-2007, 7:44 AM

    problems with image paths.

    I am having a problem with the image path. when i select an image to insert into the editor,
    the image does not appear, just a blank square with a red x in it. if i look at the source
    in the editor, it shows the following code...
     
    <img height="30" src="http://cutesoft.net/up_images/Coffee_Morning_2003.jpg" width="28" border="0" alt="" />
     
    The ASP code I have used for the editor includes the code shown below. Why doesn't the
    editor display the image correctly ? When I look at the page on the front end, the page
    actually displays the image, but it is 28x30 pixels in size. Do you think that maybe one of
    the editor files is corrupt and it is just that the editor cannot read the image ? Also, if
    i click on the HTML button on the editor, and manually change
     
    <img height="30" src="http://cutesoft.net/up_images/Coffee_Morning_2003.jpg" width="28" border="0" alt="" />
    to
     
    <img height="30"
    width="28" border="0" alt="" />
    (putting in the full path)
     
    ...when i click back to the WYSIWYG screen on the editor, it actually then displays the
    image !!!!
     
    please help !
     
    thanks, Brian.

    Set editor = New CuteEditor
    editor.BaseHref = "http://hospicefoundation.biznetservers.com"
    editor.ID = "tf_pagebody"
    editor.Text = cont
    editor.FilesPath = "/CuteEditor_Files"
    editor.EditorBodyStyle = "font:normal 12px arial;"
    editor.EditorWysiwygModeCss = "/styles/hospiceEditor.css"
    editor.ImageGalleryPath = "/up_images"
    editor.MediaGalleryPath = "/up_media"
    editor.FilesGalleryPath = "/up_documents"
    'editor.MaxImageSize = 50
    editor.Width = 460
    editor.Height = 600
    'specify the path of your custom configuration file
    editor.ConfigurationPath = "/CuteEditor_Files/Configuration/Hospice.config"
    'Determines how the toolbars and its buttons and dropdownlists are displayed .
    editor.ThemeType = "Office2003_BlueTheme"
    'Retrieves the CuteEditor HTML content in XHTML format.
    editor.XHTMLOutput = true
    'Specify the behavior when the "enter" key is pressed in the editor.
    editor.BreakElement = "P"
View Complete Thread