Transform linked images to embedded images

16

8

I have imported a HTML report into word by opening it (open index.html in Word) and copy / paste the result as an annex into my Doc.

It worked fine, except that all the images (200 of them) are actually links to the images on my hard drive. Hence, when I send the document to my co-workers, they don't have the images.

How can I tell MS-Word to embed these images into the document itself?

If you have the procedure to do it for one image, I might be able to record a macro or write a visual-basic macro.

Raphael Jolivet

Posted 2011-06-09T11:40:17.693

Reputation: 487

Embedding 200 images would probably make your document much larger, since, in my experience, Word would convert them to bitmaps, uncompressed bitmaps – pavium – 2011-06-09T12:02:54.803

Yes, I know that. But I have no choice. I has to be a single document (even a huge one). I cannot deliver a folder with images together with this document. – Raphael Jolivet – 2011-06-09T12:49:53.613

I see your problem. Maybe this explains the popularity of presentation software like Powerpoint. – pavium – 2011-06-09T12:54:30.223

1What about a PDF version ? Or you can embed your images directly in the HTML file (using data: and base64). – Nicolas – 2011-06-09T13:09:51.713

Answers

16

I found the solution here, the keyword was "unlinking images".

Here is the procedure for Word 2007.

  1. Press Ctrl+A to select the entire document.
  2. Click the large Microsoft Office button in the top left corner, select Prepare, then click Edit Links to Files (or press Alt+E+K).
    All links should be selected—if they're not, then make sure you've saved the document as a *.doc file, OR select all the files listed by scrolling to the end of the list and then using Shift+click to select the last in the range.
  3. Select the Save picture in Document check box.
  4. Click OK.

Raphael Jolivet

Posted 2011-06-09T11:40:17.693

Reputation: 487

5In Word 2013 a link to the "Edit Links to Files" menu is available from the Related Documents section on the bottom right of the Info screen. Note that you can cick "Break Link" at the same time that you check "Save picture in document" which will convert the linked images to unlinked embedded images and the "Edit Links to Files" link should then disappear. – Lilienthal – 2017-03-01T11:15:49.087

1I'm happy, I now have my HUGE document ... – Raphael Jolivet – 2011-06-09T13:27:32.443

+1 I did not know about this option. I actually wrote a macro in answer to your question but by the time I finished you had found your solution. – James P – 2011-06-09T14:09:27.477

6

In Word 2010:

Click File > Info > Edit Links To Files (Edit Links is in the Related Documents section on the bottom right). This opens the Links dialog.

Select all the links in Links dialog, and then click Break Link.

Note: Edit Links To Files only shows once a document has been saved to disk, and when the document contains links to other files.

Ags1

Posted 2011-06-09T11:40:17.693

Reputation: 161

I wonder how I could not find it on my own. – Andreas Reiff – 2017-07-31T13:14:13.733

It appears to me that you have to use the "save picture in document" on the "Links" dialog. So select all links (click on the first one, scroll to bottom of link list, Ctrl+click to select all) then select the "Save picture in document" checkbox (bottom left of Links dialog). Click OK. Then wait a while until all pictures are downloaded into the document and you are returned to the File, Info page. Return to doc and click on a picture, and the URL will not be displayed on bottom left of window. Note that if you go the Links dialog again, the source URLs will still be there, but pix are local. – Rick Hellewell – 2018-01-04T01:22:05.853

2

I use LibreOffice and there is a function Edit/Links/Break link.

But I looked in MSO (I have here only 2010 Starter, which use only occasionally) and if you right click on image and choose Remove hyperlink, it seems to work in the same way.

Juhele

Posted 2011-06-09T11:40:17.693

Reputation: 2 297