How to embed linked images in Word 2007

Using Author-it to produce Word documents is easy. The tricky bit is distributing them.

Without running any post publishing macros, the Word document that is generated will be using linked images. So everytime you need to distribute the document you’ll also need to remember to include the images as well.

I frequently forget this, hence why I’m posting this, so, if all else fails, I can at least search my own blog to find the solution. If you look at a document with linked images, you’ll see that the filesize for the document is quite small, and there will be a number of images in the same folder (although this works fine if your images are linked from another folder).

UPDATE: You can also do this automatically after publishing using an afterPublish Word macro, the Author-it Knowledge Centre has the details, thanks to Derek Tomes for pointing it out. Read on for the manual method.

You can quickly and easily convert linked images to embedded images in Word 2007. Here’s how:

  1. With your Word document open, click the Office button*, top-left of the window.
  2. Select Prepare > Edit Links to Files.
  3. Select and highlight the images you want to convert from the list.
  4. Select the option to Save picture in document.
  5. Click the Break Link button.
  6. Click Yes to confirm.

The links are removed, and the images are now embedded in your Word document. A quick check of the filesize of the Word document should show a marked increase and you can now distribute the Word document, and the Word document only, safe in the knowledge that the images are embedded.


 
 
 

38 Responses to “How to embed linked images in Word 2007”

  1. Eddie Gear
    16 March 2009 at 16:53

    Hi Gordon,

    Nice info there, thank you for sharing them with us.

    Cheers,
    Eddie Gear

  2. Ahmed Shehu
    28 April 2009 at 13:49

    thank u very much
    great info
    but how can i make it in vba so all the pictures are save at once.

    thanks

  3. Gordon McLean
    29 April 2009 at 19:40

    Hi Ahmed,

    I’m not sure how you can do that programmatically, sorry. Perhaps the MSDN library of information would be a good starting poin?

  4. JP
    4 May 2009 at 16:19

    Thank you for posting this.

    Is it your understanding then, that there is no way to send someone a Word document with linked images that they can see unless the images are formally embedded? we are writing long documents for a client that would like the images linked – problem is, even if we send the doc and corresponding linked images, the images don’t display. it almost seems like Image Linking is only of benefit if the document lives on one machine only. Am I crazy? Thanks for your expertise.

  5. Gordon McLean
    4 May 2009 at 20:01

    Linked images are only of benefit if the linked images don’t move and the document can always see them.

    So if you store them on a network drive, then pass the word document to someone who can’t see your network, then no, why would you expect that to work?

    BUT, if you store the images in a folder next to the Word document and, for example, ZIP the Word document AND the folder with the images, then that should be OK, as the link to the images is maintained when the client unzips the whole lot.

  6. SharePat
    25 May 2009 at 15:51

    Is this also possible in Word2003 ?

  7. SharePat
    25 May 2009 at 15:57

    OK, found out how : select picture and do Shift Ctrl F9.
    In VB : Selection.Fields.Unlink

  8. Derek Tomes
    27 May 2009 at 09:49

    G’day Gordon, you can do this automatically when you publish if you want to. Just add an AfterPublish macro to you Word Template. http://www.author-it.com/kc/index.mv?5942

  9. dave
    16 June 2009 at 18:24

    This is what I needed two weeks ago. I had to manually go through my document and embed all the images. But at least I’ll be ready for next year.

    Thanks.

  10. Paul Miller
    5 October 2009 at 04:24

    Thanks VERY much. After banging my head against a wall for the best part of two days trying to find why my client could not see the images in a Word document I sent I was close to lodging a problem report with AuthorIt. Previously all the docuemnts I sent from AIT were published to PDF so this is the first time I have come across the issue.

    The link to AIT’s own web site for the macro was also extremely useful. I had used the search engine on their site to try to come up with answers regarding embedded versus linked images and cam up with very unhelpful seacrh results. All I can say is “thank God for Google!”

  11. Dennis Coons
    10 November 2009 at 16:38

    I do not have the menu option of “Edit Links to Files” under the “Prepare” menu. How do I get this option? Please Advise. Thanks.

  12. Claire Christiansen
    12 November 2009 at 11:14

    I also do not have the option of “Edit links to files”.

  13. Gordon McLean
    12 November 2009 at 11:42

    Dennis, Claire – which version of Word are you using? I only have access to 2007.

    From memory of previous version of Word, select Edit > Links, and from there you can highlight the images and click the Break Link button?

    (from here)

  14. Dennis Coons
    13 November 2009 at 15:28

    I have Word 2007. The Edit links function only appears when I open a document as HTML that has a picture link. However when I do the procedure of breaking the link and save picture in document, I check the HTML document and it still has an img src tag pointing to the file location.

  15. Gordon McLean
    13 November 2009 at 15:58

    Dennis, sorry I’ve not come across that issue. I’d suggest you check the Microsoft Support website perhaps?

  16. Bill
    25 December 2009 at 15:56

    Thanks, Gordon…you saved me hours of trying to figure out how to break the links and embed pictures into my word document.
    You can’t find this information in MS Word Help ANYWHERE!!!
    Merry Christmas.
    Bill

  17. David
    12 April 2010 at 18:01

    Hi,
    I’ve run into a similar issue – made a word document, pasted images in. Saved as a pdf (all in Word 2007) and published to our website, without the images.

    The pdf displays and looks fine on the site, but hovering over images shows where it “came from”. Since our office is secure and cannot be accessed from outside, it’s obviously not a “link” to our local image. just says (example):
    “c:\david\documents\imagename.gif”. We don’t want that.

    When I use the “Office Button” and “prepare”, the option you mentioned (edit links to files) isn’t there. Just:
    - Properties
    - Inspect Document
    - Encrypt Document
    - Restrice Permissions
    - Digital Signature
    - Mark as Final
    - Compatibility Checker
    Any ideas how I can remove the “text on hover” from the pdf?
    thanks
    David

  18. Gordon McLean
    12 April 2010 at 18:35

    David,

    The option to Edit Links to Files ONLY appears if you have linked images. If you are copy and pasting them into the document then they are already embedded, there are no links!

    That’s why your PDF displays ok.

    To remove the ‘text on hover’ I’d check the PDF settings (but as the links are local they won’t work anyway, just look unsightly). Either the generation of the PDF is adding the tooltip text or the PDF itself holds that information.

    HTH

  19. David
    15 April 2010 at 21:14

    Thanks for the reply.

    As it happens I found the answer to the “path” that showed when hovering over the images.

    Apparently when you paste the image into Word 2007, it adds “alt text” like an image on a webpage, to be “helpful” for assisted readers. You remove it, by “properties”? nope.

    You right click and choose “size” and there’s a tab under size where you can delete / change the alt text.

    Thanks again.

  20. Amar Nath Satrawala
    19 April 2010 at 08:59

    Hi

    One could instead embed and link simultaneously. When the Insert->Picture menu is invoked, the third item in Link drop-down button has that option. It will take care of both distribution and ability to update the changed content.

    Thanks

  21. stevekrzysiak (stevekrzysiak)
    6 May 2010 at 15:13

    Twitter Comment


    How to embed linked images in Word 2007 | one man writes [link to post] Thank you for this MS word tip, @onemanwrites

    Posted using Chat Catcher

  22. Scott
    14 May 2010 at 17:11

    Very helpful, thanks. Unfortunately I’m only able to embed the first several images, and the rest of the hundred-plus images in my 300-page manual are killed (display as red X’s).

  23. Johnny
    20 May 2010 at 08:11

    Is it possible to do the opposite??
    That is – make embedded images linked?

  24. Fruit Muffin: Part of a Complete Breakfast » Blog Archive » How to embed linked images in Word 2010
    8 July 2010 at 19:17

    [...] Here’s how to do this in Office 2007 [...]

  25. Santosh
    18 October 2010 at 18:50

    Hey , I really thanked to u.
    i was googling for the same and found this.

  26. Qwe Ieo
    19 January 2011 at 13:49

    VBA Solution:

    Option Explicit

    Sub ChangeLinkFolder()
    Dim dlg As Dialog
    Dim ilsh As InlineShape
    Dim strNewPath As String

    Set dlg = Dialogs(wdDialogFileOpen)
    With dlg
    .Name = ActiveDocument.Path

    If .Display = -1 Then ‘ user clicked OK
    ‘ the WordBasic.FileNameInfo$ function is described at
    http://word.mvps.org/FAQs/MacrosVBA/WordBasicCommands.htm
    ‘ The syntax is
    ‘ x = WordBasic.FilenameInfo$(FileName$, FileType)
    ‘ where Filename is the name of the file, and FileType is a number which defines the part of the filename you want to return:
    ‘ 1 – the full pathname, e.g. C:\My Documents\My File.doc”
    ‘ 2 – the filename only, if the file is in the current folder, otherwise the full pathname
    ‘ 3 – the filename only
    ‘ 4 – the filename without the extension
    ‘ 5 – the path without the filename, e.g. C:\My Documents\”
    ‘ 6 – the UNC pathname
    strNewPath = WordBasic.FilenameInfo$(.Name, 5)
    End If
    End With

    For Each ilsh In ActiveDocument.InlineShapes
    Application.StatusBar = ilsh.LinkFormat.SourcePath
    ilsh.LinkFormat.SourceFullName = strNewPath & ilsh.LinkFormat.SourceName
    Next ilsh

    Application.StatusBar = “”
    End Sub

  27. Ed
    1 February 2011 at 00:31

    If Edit Links to Files does not appear, try moving your cursor down to the gray bar with a down arrow in the center.

  28. Word: Embed Linked Images — EpingSoft
    9 April 2011 at 10:21

    [...] How to embed linked images in Word 2007 [...]

  29. Sarah
    27 July 2011 at 09:18

    In Word 2010, “Edit Links” is a text link at the bottom right corner (under the Properties pane) on the File tab, Info section. The ‘Prepare documents for sharing’ option written large in the middle has nothing to do with it. It has taken me months to work this out!

  30. Marc
    29 July 2011 at 12:06

    Thanks Sarah! I am SO glad you found that. I can’t believe they make it so hard to figure out…

  31. How to embed linked images in Word 2010 | one man writes
    13 September 2011 at 19:23

    [...] One of the most popular posts on my blog was written a few years ago but still gets a lot of visits and comments; How to embed linked images in Word 2007. [...]

  32. mike
    13 September 2011 at 23:42

    Fantastic post. An issue related to this was driving me crazy.

    *Weirdest MS Word bug/flaw/feature ever*

  33. Richard Pineger
    26 September 2011 at 15:18

    Interesting. I pressed F1 in Word 2007 and searched for “to embed linked graphics” and this blog post was one of the results. Did you know that Microsoft are syndicating your content right inside Word? That makes you nearly famous!

  34. Gordon McLean
    26 September 2011 at 15:37

    Wow, good to know Richard (I tried same in Word 2010, but doesn’t show my blog post :( ).

  35. Paolo Bacci
    28 November 2011 at 17:24

    Hi,
    Do you have this tutorial applied to Office 97?
    Thank you

  36. Gordon McLean
    29 November 2011 at 08:53

    Hi Paolo,

    I haven’t ever used that version of Office, but I’d imagine the basic idea is the same. You just need to find the dialogue!

  37. my goodness
    26 January 2012 at 20:11

    “You right click and choose “size” and there’s a tab under size where you can delete / change the alt text.”

    Wow what was MS thinking. Can you make it any harder for people to find? Gezz.

    MS 2011: To print your document, click and hold down the save icon for 10 seconds then drag it over the References tab.

  38. Rivka Bernstein
    11 June 2012 at 07:35

    Hi,
    This posting has been a life saver. I have used AIT for years and never had the problem of “unembedded graphics”. I was using a customized template for the customer which must have had a macro included to automatically embed the graphics. This is the first time I am using it on my home machine which has Office 2007 and it was a disaster. This is great and worked.
    Rivka