Issue 35649 - Linked images' paths are always absolute making the document mostly non-portable
Summary: Linked images' paths are always absolute making the document mostly non-portable
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 1.0.3
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: thorsten.martens
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-16 15:28 UTC by borszczuk
Modified: 2004-10-21 13:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description borszczuk 2004-10-16 15:28:02 UTC
Impress (and other OOo's components too) allows to either embeed the image into
the document/presentation by including its content into OOo document file (in
this example case I'd be refering to *.sxi file), or alternatively to just link
it with the document/presentation - in such case image is loaded on use. This
dramatically reduces the size of *.sxi file but causes at least two major
issues. First of all the file path for each image is kept as absolute (i.e.
"/home/carlos/impress/files/foo/bar/img/smth.jpg"). This makes the document
almost non portable (if I hand it to other *nix user along with the images s/he
have to rebuild all the directories to make the presentation works. Of course I,
knowing this issue could predict such problems and i.e. make some symlinks to
reduce impact, but it's not that hard to imagine that i.e. Windows' user would
be complaining again having big problems bringing my presentation to life.

The solution would be to store the path as relative path to *.sxi file and/or
give the user option to determine if s/he wants relative or absolute paths for
linked images (default shall be "relative").
Comment 1 Regina Henschel 2004-10-16 17:20:30 UTC
Why do you think, that the path is absolute? Have you tried to move the folder?
On my system (winXP) they are relative. Please unzip your sxi-file and have a
look into content.xml
Comment 2 thorsten.martens 2004-10-21 13:40:39 UTC
Just have a look at tools/options/load save/general , there you`ll find a
checkbox for storing URL´s relative or not.
Comment 3 thorsten.martens 2004-10-21 13:40:57 UTC
closed