Image Problem

Last post 11-08-2005, 5:49 AM by UmairNazir. 2 replies.
Sort Posts: Previous Next
  •  11-08-2005, 5:32 AM 12361

    Image Problem

    i have to get the whole HTML code like <title> tag etc. so i set "EditCompleteDocument=True" and i have wole html code
    but there is problem with the images. when i load the html doc first time images are disappear except bg images and when the i press save or view html tab or preview tab or press button or menu then images will appear.
     
    UseRelativeLinks = True
    complete url = http://developer2/onlinewebbuilder/umair/images/logo.gif
    url in images are "umair/images/logo.gif"
     
    tx
    reply immediately
  •  11-08-2005, 5:37 AM 12362 in reply to 12361

    Re: Image Problem

    >>when i load the html doc first time images are disappear

    What are the urls of this images?

    If you are using the relativee path like umair/images/logo.gif, please set your Editor.BaseHref Property to http://developer2/onlinewebbuilder/
     
    Editor.BaseHref Property
    Sets or retrieves the baseline URL on which relative links will be based.

    Hope it helps.



    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  11-08-2005, 5:49 AM 12364 in reply to 12362

    Re: Image Problem

    Here is the complete code im wrote but images doesnt appear

    Dim strpath As String = Me.Page.Request.Url.Scheme + Me.Page.Request.Url.SchemeDelimiter +Me.Page.Request.Url.Host + Me.Page.Request.ApplicationPath + "/"

    With Editor1
    .BaseHref = strpath + "/onlinewebbuilder"
    .AllowPasteHtml = False

    .DisableAutoFormatting = True

    .EditCompleteDocument = True

    .EditorWysiwygModeCss = struserpath + "/css/style.css"

    .CssClass = struserpath + "/css/style.css"

    .RemoveTBODYTag = True

    .UseRelativeLinks = True

    .RemoveServerNamesFromUrl = False

    .SetSecurityFilesGalleryPath(struserpath)

    .SetSecurityGalleryPath(struserpath)

    .SetSecurityFlashGalleryPath(struserpath + "/Flash")

    .SetSecurityMediaGalleryPath(struserpath + "/Media")

    .SetSecurityTemplateGalleryPath(struserpath + "/Template")

    .SetSecurityImageGalleryPath(struserpath + "/Images")

    .LoadHtml(struserpath + "/index.html")

    .ActiveTab = CuteEditor.TabType.View

    .ShowPreviewMode = True

    End With

View as RSS news feed in XML