Repost: Repost: Images in existing documents

Last post 12-10-2005, 4:04 PM by Adam. 3 replies.
Sort Posts: Previous Next
  •  12-07-2005, 5:26 PM 13537

    Repost: Repost: Images in existing documents

    Seems weird, but I just can't seem to get any focus on this problem. This the third posting. Adam looked at it once but then lost interest maybe?

    Problem:
    I have installed CuteEdit as described in the documentation and can open existing htmls fine. The only problem is that any images do not display. Seems to me it's probably a pathing issue but I'm not sure what to do. The developer guide at http://cutesoft.net/developer+guide/index.html really leave a lot to be desired unfortunately.
    TIA
    Scott

    Adams Response:
    Scott,
    Sorry for miss your post.
    Can you tell me your file structure and post the HTML code of your existing htmls?

    My Response:

    Hi Adam, thanks for the reply. This is an example of what I'm having trouble with:
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>New Page 1</title>
    </head>
    <body>
    <p>
    &nbsp;</p>
    <p>
    <img border="0" src="fees%20payment%20notice_files/image002.gif" width="1123" height="795"></p>
    </body>
    </html>

    App is running in virtual dir CasulaDocumentPortal which exists at D:\Data\Projects\Casula Vet Hospital\Document Portal\
    html file above exists at D:\Data\Projects\Casula Vet Hospital\Document Portal\documents\A Chapter 1 general notes
    full path to image referenced is D:\Data\Projects\Casula Vet Hospital\Document Portal\documents\A Chapter 1 general notes\fees payment notice_files\image002.gif
    I have confirmed that I can navigate to  http://localhost/CasulaDocumentPortal/documents/A%20Chapter%201%20general%20notes/fees%20payment%20notice_files/image002.gif
    Unfortunately CuteEditor just displays a blank page.

    Thanks for your time,
    Scott

  •  12-08-2005, 1:41 PM 13591 in reply to 13537

    Re: Repost: Repost: Images in existing documents

    Scott,

    This is not an editor issue.
     
    You are using a relative path, the images are stored at a location relative to the document directory.
     
    If the document location is D:\Data\Projects\Casula Vet Hospital\Document Portal\some.html and and the image (image002.gif) location is "fees%20payment%20notice_files",  the image should be stored at D:\Data\Projects\Casula Vet Hospital\Document Portal\fees%20payment%20notice_files\image002.gif.

    If the document location is D:\Data\Projects\Casula Vet Hospital\Document Portal\documents\A Chapter 1 general notes\some.html and and the image (image002.gif) location is "fees%20payment%20notice_files",  the image should be stored at D:\Data\Projects\Casula Vet Hospital\Document Portal\documents\A Chapter 1 general notes\fees%20payment%20notice_files\image002.gif.







    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

  •  12-08-2005, 8:18 PM 13612 in reply to 13591

    Re: Repost: Repost: Images in existing documents

    But Adam, as I explained before, that IS where the image is stored!
  •  12-10-2005, 4:04 PM 13673 in reply to 13591

    Re: Repost: Repost: Images in existing documents

    Scott,

    Are you sure you have images in both places??

    Because you are using a relative path, the images are stored at a location relative to the document directory. (fees%20payment%20notice_files/image002.gif
    )

    Case 1:

    Document path:

    D:\Data\Projects\Casula Vet Hospital\Document Portal\some.html

    Image path:

    D:\Data\Projects\Casula Vet Hospital\Document Portal\fees%20payment%20notice_files\image002.gif

    Case 2:

    Document path:

    D:\Data\Projects\Casula Vet Hospital\Document Portal\documents\A Chapter 1 general notes\some.html

    Image path:

    D:\Data\Projects\Casula Vet Hospital\Document Portal\documents\A Chapter 1 general notes\fees%20payment%20notice_files\image002.gif.





     

    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

View as RSS news feed in XML