2 Replies Latest reply on Mar 3, 2010 9:30 PM by BurrManator

    Image paths incorrect



          Using RH8 I have imported some Word docs. These create a topic, a Stylesheet and a folder of same name containing images that were in the doc. I open the project and evrything appears ok. I can generate web or flash help without a problem.




      I select an image in design view which shows as left aligned on the formatting toolbar, and change it to "Center" and the image moves to the center. WHen I generate web or flash help, the image is missing in the preview and published output.


      The path in the html view of the topic is listed as:


      <img src="folder1/image001.gif"/> which is a correct relative path for design time.


      If I right clcik the image in the generated output and read properties, the path to it is:




      Which obviously doesnt work. An http with 3 forward slashes and no relative information to the folder.


      Has anyone seen this yet or seen it go across the forum. I think it was working before i updated to the new patch, but cant confirm it.



        • 1. Re: Image paths incorrect
          BurrManator Level 1

          Hi All,

              Actually let's put this help request on hold for a minute. I have been doing some experiments to try and track down what is happening. I loaded a new project and brought in some older versions of the word docs and did some testing to see if it was the new service pack to Robohelp, and it seems the old versions work correctly.


          I am thinking it may have to do with some formatting that was done in the word doc. More specifically to "Hyperlinks" where I asked the author to make the link targets to be "Page Default (same frame)". He mentioned to me after I made the request that he found a "global way" to set it on the entire document so he didnt have to manually edit each link in the word doc individually. I dont know what his method was and he is on a plane at the moment so I wont be able to speak to him about it till later today or tommorow. But I do think this may be the culprit. The link targets show in Word as same frame and in Robohelp as none. But there may be some kind of global variable stuffed away in a css or somewhere in Robohelp that is affecting the image paths also.


          I'll post back and look for any added info from you later.



          • 2. Re: Image paths incorrect
            BurrManator Level 1


                Well pretty sure I figured it out, though didnt waste a bunch of time trying to prove it to myself. I had mistakenly made a trequest to the Word Doc creator to use a target frame of "Same Frame" on his links in the word docs, though the desired result was acheived with a standard (none). Upon importing these docs to RobohelpHTML, the link properties were reported as "none" though when compiling the WebHelp or FlashHelp, Robohelp would put an "hhtp:///" on all image paths that were relative, so as opposed to ../folder name, you would get http:///foldername, with no domain information.


            Anyway, it was a fairly small project, so I fixed it by performing a Word "Copy and Paste" from the offending word doc to a new one, which seemd to strip out the target frame info and replace it with the new docs default setting of none, then re-importing my word docs to Robohelp.