How to insert picture with relative path

S

Sevilho

Word 2007. When you insert picture with link to graphic file path is absolute
by default. It is not convinient when you move doc and picture to other
computer.

How to edit path?

P.S. Word 2003 made relative path.
 
S

Sevilho

Hi!
Thank you. I suggest next.

1. When you use {FILENAME \p}, you use absolute path! But you can easy
insert Field NCLUDEPICTURE and type there relative path. It works!

2. It's interesting, that a picture, included via field is not the same as
picture, included via standard Insert means. The last is more complex and
became as MS Chart (visible only in Page layout mode). More of it you can
rotate this object.

Where can I read what is the this object in truth ?


macropod said:
Hi Sevilho,

To see how to implement relative paths in Word, check out the solution I've posted at:
http://lounge.windowssecrets.com/index.php?showtopic=670027


--
Cheers
macropod
[Microsoft MVP - Word]


Sevilho said:
Word 2007. When you insert picture with link to graphic file path is absolute
by default. It is not convinient when you move doc and picture to other
computer.

How to edit path?

P.S. Word 2003 made relative path.
.
 
M

macropod

Hi Sevilho,

I think you have relative and absolute paths confused. Using the {FILENAME \p} field gives you a path 'relative' to the current
file. You cannot insert a relative path directly into an INCLUDEPICTURE field. Even if you omit the path, Word stores the absolute
path internally.

--
Cheers
macropod
[Microsoft MVP - Word]


Sevilho said:
Hi!
Thank you. I suggest next.

1. When you use {FILENAME \p}, you use absolute path! But you can easy
insert Field NCLUDEPICTURE and type there relative path. It works!

2. It's interesting, that a picture, included via field is not the same as
picture, included via standard Insert means. The last is more complex and
became as MS Chart (visible only in Page layout mode). More of it you can
rotate this object.

Where can I read what is the this object in truth ?


macropod said:
Hi Sevilho,

To see how to implement relative paths in Word, check out the solution I've posted at:
http://lounge.windowssecrets.com/index.php?showtopic=670027


--
Cheers
macropod
[Microsoft MVP - Word]


Sevilho said:
Word 2007. When you insert picture with link to graphic file path is absolute
by default. It is not convinient when you move doc and picture to other
computer.

How to edit path?

P.S. Word 2003 made relative path.
.
 
S

Sevilho

Hi!


Hi!
confused you :)
{FILENAME \p} gives you a absolute path !
you "upbuild" by relative path, and path became absolute

I suggest you more simple construction.
You cannot insert a relative path directly into an INCLUDEPICTURE field.
You CAN !!!
1. Menu Inset > group Text > Quick Parts > Fields.. >
2. Choose IncludePicture and check option "Data not stored within document"
(optionaly)
3. Type relative path in 'Filename or URL' field, samething
"images\\Swix Aurora.jpg"
4. Press OK

Then press Shift+F9 and check that the path is the same as you type.
Hi Sevilho,

I think you have relative and absolute paths confused. Using the {FILENAME \p} field gives you a path 'relative' to the current
file. You cannot insert a relative path directly into an INCLUDEPICTURE field. Even if you omit the path, Word stores the absolute
path internally.

--
Cheers
macropod
[Microsoft MVP - Word]


Sevilho said:
Hi!
Thank you. I suggest next.

1. When you use {FILENAME \p}, you use absolute path! But you can easy
insert Field NCLUDEPICTURE and type there relative path. It works!

2. It's interesting, that a picture, included via field is not the same as
picture, included via standard Insert means. The last is more complex and
became as MS Chart (visible only in Page layout mode). More of it you can
rotate this object.

Where can I read what is the this object in truth ?


macropod said:
Hi Sevilho,

To see how to implement relative paths in Word, check out the solution I've posted at:
http://lounge.windowssecrets.com/index.php?showtopic=670027


--
Cheers
macropod
[Microsoft MVP - Word]


Word 2007. When you insert picture with link to graphic file path is absolute
by default. It is not convinient when you move doc and picture to other
computer.

How to edit path?

P.S. Word 2003 made relative path.
.

.
 
M

macropod

Hi Sevilho,
3. Type relative path in 'Filename or URL' field, samething
"images\\Swix Aurora.jpg"
That is an absolute path.

--
Cheers
macropod
[Microsoft MVP - Word]


Sevilho said:
Hi!


Hi!
confused you :)
{FILENAME \p} gives you a absolute path !
you "upbuild" by relative path, and path became absolute

I suggest you more simple construction.
You cannot insert a relative path directly into an INCLUDEPICTURE field.
You CAN !!!
1. Menu Inset > group Text > Quick Parts > Fields.. >
2. Choose IncludePicture and check option "Data not stored within document"
(optionaly)
3. Type relative path in 'Filename or URL' field, samething
"images\\Swix Aurora.jpg"
4. Press OK

Then press Shift+F9 and check that the path is the same as you type.
Hi Sevilho,

I think you have relative and absolute paths confused. Using the {FILENAME \p} field gives you a path 'relative' to the current
file. You cannot insert a relative path directly into an INCLUDEPICTURE field. Even if you omit the path, Word stores the
absolute
path internally.

--
Cheers
macropod
[Microsoft MVP - Word]


Sevilho said:
Hi!
Thank you. I suggest next.

1. When you use {FILENAME \p}, you use absolute path! But you can easy
insert Field NCLUDEPICTURE and type there relative path. It works!

2. It's interesting, that a picture, included via field is not the same as
picture, included via standard Insert means. The last is more complex and
became as MS Chart (visible only in Page layout mode). More of it you can
rotate this object.

Where can I read what is the this object in truth ?


:

Hi Sevilho,

To see how to implement relative paths in Word, check out the solution I've posted at:
http://lounge.windowssecrets.com/index.php?showtopic=670027


--
Cheers
macropod
[Microsoft MVP - Word]


Word 2007. When you insert picture with link to graphic file path is absolute
by default. It is not convinient when you move doc and picture to other
computer.

How to edit path?

P.S. Word 2003 made relative path.
.

.
 
S

Sevilho

That is an absolute path
No, relative, I have checked. Try, do.
If your insert picture via field code there in no ANY difference with 2003
Word. And you may use any type of path, as convinient.

macropod said:
Hi Sevilho,
3. Type relative path in 'Filename or URL' field, samething
"images\\Swix Aurora.jpg"
That is an absolute path.

--
Cheers
macropod
[Microsoft MVP - Word]


Sevilho said:
Hi!


Hi!
confused you :)
{FILENAME \p} gives you a absolute path !
you "upbuild" by relative path, and path became absolute

I suggest you more simple construction.
You cannot insert a relative path directly into an INCLUDEPICTURE field.
You CAN !!!
1. Menu Inset > group Text > Quick Parts > Fields.. >
2. Choose IncludePicture and check option "Data not stored within document"
(optionaly)
3. Type relative path in 'Filename or URL' field, samething
"images\\Swix Aurora.jpg"
4. Press OK

Then press Shift+F9 and check that the path is the same as you type.
Hi Sevilho,

I think you have relative and absolute paths confused. Using the {FILENAME \p} field gives you a path 'relative' to the current
file. You cannot insert a relative path directly into an INCLUDEPICTURE field. Even if you omit the path, Word stores the
absolute
path internally.

--
Cheers
macropod
[Microsoft MVP - Word]


Hi!
Thank you. I suggest next.

1. When you use {FILENAME \p}, you use absolute path! But you can easy
insert Field NCLUDEPICTURE and type there relative path. It works!

2. It's interesting, that a picture, included via field is not the same as
picture, included via standard Insert means. The last is more complex and
became as MS Chart (visible only in Page layout mode). More of it you can
rotate this object.

Where can I read what is the this object in truth ?


:

Hi Sevilho,

To see how to implement relative paths in Word, check out the solution I've posted at:
http://lounge.windowssecrets.com/index.php?showtopic=670027


--
Cheers
macropod
[Microsoft MVP - Word]


Word 2007. When you insert picture with link to graphic file path is absolute
by default. It is not convinient when you move doc and picture to other
computer.

How to edit path?

P.S. Word 2003 made relative path.
.


.

.
 
P

Peter Jamieson

No, it's a relative path. You can tell it's a relative path by
inspection because you would not be able to identify absolutely where
the file "images\Swix Aurora.jpg" is on a given system. Is it
c:\images\Swix Aurora.jpg ? d:\images\Swix Aurora.jpg ? Or what?

Peter Jamieson

http://tips.pjmsn.me.uk
 

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