Link to image and retain full image path in field

R

Racealong

We typeset in InDesign and write in Word. I need our athors to insert images
using:

insert>insert picture>insert>link to file

InDesign requires that a full path is included in the image field. Unless
the Word document is held on a different physical drive to the images Word
does not include the full path.

Is there a way around this? I tried search and replace on the fileds to the
full path. This works fine in Word but Indesign does not like it. (There
seems to be a differnce between the search and replace code and one using the
manual insert).

Does anone have a solution?


Thanks
Mark
 
S

Suzanne S. Barnhill

The only way I've found to force this from the outset is to insert the
graphic before you save the file (so that Word doesn't know where you're
going to put it and is forced to use an absolute path). Unfortunately, it
has a bad habit of changing the links to relative at the first opportunity.
<sigh>
 
B

Bob Buckland ?:-\)

Hi Mark,

If the picture is in the same folder tree as the document
when you insert the link then the default behavior is
to switch to a relative path when saving.

You didn't mention the version of Word you're using but
if the graphics are linked with an INCLUDEPICTURE field
and are formatted as inline with text wrapping you may
want to try using Alt+F9 to toggle the field codes display
then use Edit replace and replace INCLUDEPICTURE with IMPORT

Import is an earlier version Word field and doesn't appear
to switch to relative paths in the minimal testing I tried.

==========
We typeset in InDesign and write in Word. I need our athors to insert images
using:

insert>insert picture>insert>link to file

InDesign requires that a full path is included in the image field. Unless
the Word document is held on a different physical drive to the images Word
does not include the full path.

Is there a way around this? I tried search and replace on the fileds to the
full path. This works fine in Word but Indesign does not like it. (There
seems to be a differnce between the search and replace code and one using the
manual insert).

Does anone have a solution?


Thanks
Mark>>

--
Let us know if this helped you,

Bob Buckland ?:)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*

Office 2003 Editions explained
http://www.microsoft.com/uk/office/editions.mspx
 
S

Suzanne S. Barnhill

Would that work for Web pages as well? If so, it would be a great boon to
those frustrated by Word's insistence on updating links.
 
B

Bob Buckland ?:-\)

Hi Suzanne,

Sorta/kinda :)

If you save as a Word Web Page then it retains the
'import' field designation, if you save as WebPage=>Filtered
then reopen the .htm file in Word your IMPORT field is
replaced by an INCLUDEPICTURE field.

What may be helpful (if you're working locally and not on
a website) is to put the drive letter for your linked graphics
in File=>Properties=>Hyperlink base.

For example if your picture is from D:\My Documents\Graphics\Flowers\
you could try putting just D:
in as the hyperlink base.

========
Would that work for Web pages as well? If so, it would be a great boon to
those frustrated by Word's insistence on updating links.

--
Suzanne S. Barnhill >>
--
Let us know if this helped you,

Bob Buckland ?:)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*

Office 2003 Editions explained
http://www.microsoft.com/uk/office/editions.mspx
 
S

Suzanne S. Barnhill

Having given up on Word, I'm now creating all my Web pages in FrontPage,
which handles these issues correctly, but Word's improper handling of links
of various sorts is under active discussion in the Word MVP NG if you care
to look in.
 
B

Brent

Hi Suzanne,

I have the opposite problem.

Background: I have a simple html file that references an image and the
image has regions with links. I open the html file in word, do Ctrl-A,
Ctrl-C and then paste into the final document in the same directory. The
image now shows up in the word document and the links work perfectly. If I
move (not copy) all of these files to somewhere else on the computer and
again open the final document instead of seeing the image I see a red X. If
I do Alt+F9 I see it is using an absolute path and that is why it isn't
working. I have tried deleting the path and leaving just the filename but
that doesn't solve the problem.

Any suggestions????

Thank you,
Brent
When I insert a picture with links it links using "INCLUDEPICTURE" and it
always seems to use an absolute path. I will always have the picture and the
word file together in one directory but the location of that directory will
change. Any ideas on how to get relative paths to work?

Thank you,
Brent
 
S

Suzanne S. Barnhill

This is the reason I gave up on Word for creating Web pages and went to
FrontPage. No matter how carefully and repeatedly I inserted relative links,
it always converted them to absolute ones. This has been discussed ad
nauseam, and no one has yet (AFAIK) come up with a solution.
 
B

Brent

Hi Suzanne,

Actually the web page was created outside of word, the problem is that I am
trying to paste it into word with the region links. I understand that Word
is converting the link to the graphic into absolute but is there any easy way
to change it back to relative.

Thanks in advance,
Brent
 
S

Suzanne S. Barnhill

You can display the field code and edit it manually, but you'll have to
replace the current incorrect link with an updated absolute link; if you try
to use a relative link, Word will just convert it to absolute (though at
least this will be correct).
 
B

Brent

Hi Suzanne,

Is there any way to have it keep a relative link as I want to be able to
give the word doc and the image (together in same directory) to other people
and an absolute path doesn't work?

Thanks again,
Brent
 
S

Suzanne S. Barnhill

This has been under considerable discussion in these NGs lately, and so far
no one has found a solution guaranteed to work. My experience, however, is
that the field update upon opening the document. So if you correct the
links, save and close the document, and then copy it to a CD without ever
reopening it, you should be okay.
 
B

Bob Buckland ?:-\)

Hi Brent,

(1) What version of Word are you using.

(2) You're using a single graphic that has
mapping to hyperlinks from various parts of the graphic?
What does the coding look like in the HTML? (or do you
have a URL for the page?)

(3) Are the graphics and the HTML starting off together
in a single folder and in Toos=>Options=>General=>[Web Options]
are you turning off the 'use supporting folder option'?

(4) Can you use the File=>Save as MHT ('single file web page')
choice for this application?

(5) Have you been using File=>Save as Web Page or
File=>Save as WebPage-Filtered or Save as Word Document?

=====
Hi Suzanne,

Is there any way to have it keep a relative link as I want to be able to
give the word doc and the image (together in same directory) to other people
and an absolute path doesn't work?

Thanks again,
Brent>>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top