• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 475
  • Last Modified:

How to embed downloaded images into a MSWord .doc file

Can anyone help with a problem concerning the “loss” of a succession of gifs / jpegs /pngs in a Word Document which has been created by copying html (details below)?  The problem is that the images do not seem to get embedded into the Word document.  This means that I can usually see them when looking at the document on the same computer as I used to download, but not if I use another computer or send the document to a friend.

I create the documents as follows.  Either I receive emails set in html which contain text and pictures, or I read html off a website containing text and pictures.  In each case I "Select All" and "Copy" these in their entirety over into MS Word 2002 (running under MSOffice 2002 on Windows XP Home sp2) where I run a macro to reformat the pictures in MS Word to a different size.

Expert Graham Skan helped with the preparation of that macro, and he reported that “It seems that when copying a picture from a browser, it is pasted as an INCLUDEPICTURE field of this format: { INCLUDEPICTURE "http://www.whatever.com//temp.gif" \* MERGEFORMATINET }.

I suspect that this means that the Word Document accesses the document either from that web address, or from whatever folder is holding email images and /or Web images.  At any rate, I suspect that it means that the image does not get embedded into the word document, and consequently is not saved with and “in” that document.

So I seek a method of converting those images so that they become embedded and saved in the word document.
0
aws148
Asked:
aws148
  • 5
  • 5
  • 3
3 Solutions
 
GrahamSkanCommented:
You can unlink the fields.
Select one or several contiguous pictures or all (Ctrl+A) and then CTRL+SHIFT+F9.
0
 
aws148Author Commented:
I have done as you suggest, - Ctrl+A, then Ctrl+Shft+F9 - then saved & closed the document.  It saves to the same size. [I've checked that Ctrl+Shft+F9 is set to UnlinkFields on my machine, and it is.]

I've then opened the document on another computer on my default windows network, and the pictures do not show.    So I don't reckon that solution works.
0
 
GrahamSkanCommented:
Do you have red crosses instead?
0
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

 
GrahamSkanCommented:
Also, what does Alt + F9 do? That should cause field codes to show instead of field results.
0
 
aws148Author Commented:
No red crosses.  Using Print Layout View (its actually the same on Normal view) I just get a blank space in the document where the pictire should be.  If I then click on the picture I get a blacklined rectangular picture border with those little black squares for resizing with the mouse.  Pressing Alt+F9 has no discernible effect at all.  [I've confirmed that it's set for ViewFieldCodes]
0
 
GrahamSkanCommented:
I probably wasn't very clear, but did you unlink the fields while your document is on the system where the pictures can be seen, prior to sending the document to where they can't?
0
 
aws148Author Commented:
Yes I did, I'm following your logic entirely. The report I gave starting "no red crosses" is a report of what happened on the 2nd screen, where I don't see the pictures.  
I still have a copy of the original document, and looking at that on the 2nd screen with Alt+F9 activated I can see the field codes referring to the internet addresses of the pictures.  Its only after loading the unlinked fields version that nothing appears with Alt+F9 activated, so I'm assuming that the unlinking operation worked correctly.  
Regret I have no understanding at all of what that actually means, or of why the pictures didn't actually get embedded - as I assume to be the case because the file size remained the same - 457kb for a 7 page document (when printed including its 10 pictures) - originally saved at 458kb, and became 457kb after the unlinking operation.  That's a huge file size for a text document - for example I have a 27 page text document saved at 303kb - which is why I originally thought the pictures must be in it.  I apologise if this is irrelevant - I'm simply trying to report anything that might assist your understanding.
0
 
Eric FletcherCommented:
Is Tools | Options, View tab, Show Picture placeholders turned on in your 2nd screen? THis would explain why you can't see the images even though they appear to be there (per your "No red crosses" post).

Your document will be much smaller if you have linked images than embedded ones. Word not only has to store the images within the file, but it also converts them to some internal format which can make the file size balloon. If you other viewers are online, and the images are still accessible from the URL, there should be no reason why linked images wouldn't show up (unless the Picture placeholders is turned on).
0
 
aws148Author Commented:
The Show Pictures placeholder was not turned on.  When I turned it on the effect was to see black lined rectangles on the screen, the outlines of the pictures, but no image.
My access to the site where the images came from is passworded, and that may be why linked images don't come through to the 2nd screen.  Perhaps they came through on my 1st machine because that is the one that accessed the site to get the newsletter.  In any event I want to get the images stored with the document and not on the net.
What I'm not understanding about file size is (a) why the file is large if the pictures are not stored in it, and (b) why there was no change when I unlinked the images.
0
 
Eric FletcherCommented:
There are 3 different options within the Insert Picture dialog: Insert (the default) embeds the image; Link to File puts in an INCLUDEPICTURE field code with the "\d" switch; and Insert and Link puts in the same field code without the switch. The first and third options both bloat the file because the image gets included; the "\d" switch forces Word to reload the image only when it needs to, so the file is smaller. In your case, the missing switch in the field code shows that the third option had been used.

You can usually save the images used on a web page to your local machine by right clicking on them and choosing Save Image As. If you then set up the links to file and include the image files with the Word document, they will be brought in when your other users view the file.

Be aware that many images are copyrighted, and their use without permission can be a violation.
0
 
aws148Author Commented:
I have been thinking about this.  It became clear that both Graham and Eric considered that I had received the correct answer, and yet it wasn't working for me.  I concluded that my 2nd computer might be malfunctioning.  I've only used this as a pretend fileserver on my windows network, for data storage and backup, and the broadband connection.  I had installed MSOffice as a backup but never used it until I loaded the word documents with images for the purposes of this question.  After testing I have discovered that it works fine in every way except one.  MSWord won't display images no matter how they are inserted.  I have no clue as to why.  It appears to be set up corrrectly and it has bags of RAM.  Yet another computer mystery that I'll clearly have to work on.  These things are a pain for the self employed.
Anyway, apart from apologising to you two, which I sincerely do, I need to close the question.  I consider that Graham originally gave the correct answer and should have the original points, and that Eric gave useful additional information which helped me fnd the problem my end.  So I've increased the points on the question and will give the additional to Eric.  I hope this is proper treatment, and I'm very gratfeul for the assistance.
0
 
Eric FletcherCommented:
"These things are a pain for the self employed."

Amen! When I get a system stable, I'm reluctant to mess around with it because it can suck away far too much valuable time trying to debug it. I often think that employed people have no idea about how costly such added activities really are... Thanks for the points!
0
 
GrahamSkanCommented:
That's very concientuous of you. Thanks
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now