Re: Relative paths!!!!!

  •  07-05-2006, 2:33 AM

    Re: Relative paths!!!!!

    Adams
     
    I should like you read my problem again!
    Your third case:
     
    C:\txt\Site\Pages
     
    <img src="img/foot.jpg" />, the relative path will be translated to C:\Tex\Site\Pages\img\foot.jpg.
     
    coincides just with my situation.
    But as I explained to you, if I call the page using editor.LoadFile(path) where path is equal to "C:\Tex\Site\Pages\index.html", the page is rendered without the effect of the image 'foot.img' beucase its relative path is translated erroneusly in 'C:\Tex\img\foot.jpg' instead of  'C:\Tex\Site\Pages\img\foot.jpg' 
     
    As you can see, the effect is different from what you told me.
    Best regards
     
View Complete Thread