Skip to main content
Participant
May 1, 2006
Question

Missing images in Word Document

  • May 1, 2006
  • 3 replies
  • 22641 views
I am having a problem with some missing images when I generate a Word document from RoboHelp HTML. I have seen similar problems in these forums and have tried the solutions without success. I have Word 2002 SP3. I have images in my document that have conditional tags applied to them. Up until now, I have not had any trouble with them generating in Word. I added some more images (using RH to import them into my doc) and I set up the conditional tags to print those and not the others. In some cases, the images are generated and in others they are not. There is no X in its place just a blank line. I have tried erasing the .CPD file and re-generating. I have tried removing and re-inserting the image. Also, if I generate the html web help, the images are all there. No problem. I have tried embedding the images and using links and get the same result. I have not tried to just generate the PDF because I need to tweak the document in Word first before generating the PDF to make everything look good.

I have also uninstalled and reinstalled Robohelp. That didn't help either. The image properties all have none (not left or right). I am running out of ideas to solve this problem. Everything worked great before so I can't figure out what could possibly be wrong especially since the webhelp is fine. I also tried moving the project to my C drive. No change either. The project usually resides on a network drive.

If anyone can help, I'd really appreciate it since I have a document to print for a customer ASAP! Thank you in advance.

Evelyn
This topic has been closed for replies.

3 replies

Inspiring
March 17, 2010

I have been suffering with this problem of missing graphics for some time, even with RoboHelp 8. However, it now seems that I have found the answer and just in case anyone else is still having this problem I thought I would share what worked for me.

After doing some Google searching I found the web site: http://www.gmayor.com/mail_merge_graphics.htm where the following solution was offered for problems with Mail Merge graphics:

"If you find that on merging to a new document the resulting paths have been changed to something like: {INCLUDEPICTURE"../,./../program%20files/My Program/ProductPictures/ImageName.jpg"\*MERGEFORMATINET} and the merge does not work correctly:-

(In Word 2003) Select Tools > Options > General > Web Options and uncheck "Update links on save""

Whatever this has to do with anything I do not know, but it magically fixed my problem and all images are now appearing in the RoboHelp Word output.

Cheers,

Chris

Peter Grainge
Community Expert
Community Expert
March 23, 2010

Chris

Can I just check that all you did was uncheck that Word setting before generating the output?

If any of your topics started life in Word and were imported, you might also like to look at the last paragraph in Snippet 125 on my site.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Inspiring
March 23, 2010

Hi Peter,

I have had this problem for some time, and yes the topics did originally start life as Word documents. I have spent over a week concentrating on trying every possible solution including changing the file names of both the topics and the graphics, i.e removing all spaces, changing to lower case, reducing the the filename length. I did find that one of your solutions to move the position of the topic in the TOC structure did also work, but that was not suitable for my purposes. Following that I rebuilt the TOC, which was quite a job on an 800 topic project, but even that did not work. Of course, I replaced the .cpd file on many occasions, also without success.

So, I was becoming quite frustrated with the whole thing, which made me more determined to find an answer. Then, this 'miracle' appeared and I just unchecked the 'Update links on save' box and all was fixed. I have no idea what the connection is, but it worked for me! Obviously, it was Derek's post that gave me the clue as I also saw that the offending graphics had the field code with the "../Images..." path. After unchecking this box, the full file path is now used by Word.

Cheers,

Chris

Inspiring
August 13, 2009

Hi all,

I have suffered from missing images in Word output for ages now. But today I got a step closer to a solution.

Here's the situation:

I generate a word document to be used in the factory and a CHM file to be used in the field; they contain alignment and adjustment procedures. Single-sourcing at its best, actually.

Like Evelyn, I had problems with images just being missing from the word doc, no error, no indication, nothing. The first thing I found was that using Images-Link to document in the first screen of the Printed Documentation wizard resulted in an easily-seen red cross in the Word doc when an image got lost. Also I found that removing spaces and other special characters from all image filenames seemed to help. So I just manually plugged in the now easily-found lost images.

In the last few days, I generated a  new version of both outputs, and a few (six out of about 200) images were missing. I decided to investigate yet again, and found that the Field (can be seen in Word using Alt-F9) of a `lost' image had the form

LostImage.png

whilst a `good' image had a field

NonLostImage.png

Note that one refers to directory ..\Images (incorrect), the other to directory Images (correct).

I was unable to discover any rhyme or reason for this error, but it did suggest a workaround; after exporting from RoboHelp, I simply made a second copy of the Images directory one level higher, so that Word could find the images wherever it looked.

Then I made my Word document portable by embedding the images into it as follows:

1. In Word, select Edit > Links...

2. Select all the files listed in the dialog box (use shift-click)

3. Check the checkbox Save pictures in document

4. Click OK

It took a minute to embed all the pictures, but I could then save the Word document and send it off to the factory to include in their database.

Hope this helps,

--- Derek

Peter Grainge
Community Expert
Community Expert
May 1, 2006
Welcome to the forum.

From the sound of it you have either seen the topic on my site or read the same information in these forums. I cannot think of anything else to add apart from asking where you are generating to. I know your project is on the hard disk and deleting the CPD will hopefully have cured any problems caused by its having been on a network drive. Perhaps though you are still generating to the network?

If you import some of the good and some of the problematic topics into a new project, does it change the behaviour?

Do keep that project off the network.
Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
edobkinAuthor
Participant
May 2, 2006
Yes, I have read quite a few topics regarding this problem. I am curious as to what the problem is with using a network drive? After re-installing RH, I did not generate to the local hard drive. I will try this again tomorrow at work. I tried the local drive before re-installing and I believe I had erased the CPD file and had no luck. If I can't get it to work, I will probably start importing each topic into a new project like you said to get a working document. This is very frustrating. Thanks for your suggestion.
Captiv8r
Legend
May 2, 2006
Hi Evelyn

I am curious as to what the problem is with using a network drive?

There are many issues with working this way. All one needs to do is poke around a bit on the forums to see that all sorts of issues can result. However, the hardest sells are those like yourself, where you have been working without issue. Until now. Typically folks that are in this position are very reluctant to move locally after being lucky for so long working on a LAN.

At the heart of the issue is the fact a Microsoft Access database is involved. These are notorious for having issues when used in a LAN environment. In the corporate IT world I came from, Access databases were banned from being placed on the network in ANY location.

The typical scenario is this. I just can't figure this out. I created a folder. Then it disappeared. Now RoboHelp won't let me create it again! The folder was indeed created here, but the project database lost track of it.

Cheers... Rick