If inserting an image and choose "link" then Writer uses an absolute path: file:///d:/Users/username/Documents/writertext/image.png it should he by default a relative path.(expecially if the image is in the same folder as the ODT file or in a subfolder relative to the location of the ODT file) if changing the path to: file:///image.png it doesn't work (odt is in the same folder) also this doesn't work: file://../image.png file://image.png file://./image.png
You don't need to change the path, always the absolute path it's showed. There is an option to have relative paths in: Menu/Tools/Options/Load+Save/General - Save URLs relative to file system.
In the Menu /Tools/Options/Load+Save/General realative paths are set as default. Its however confusing. There is in the context of image properties no hint that the shown absolute path is in reality a relative path. Further showing an absolute path which is not the real (real is the relative one) one is also confusing. Better would be: Image properties should indicate clearly if the image is embedded or liked to file. In case it is linked the real path used in the document should be shown (if if it relative then show relative). In case of a relative path a button which opens the path where the image is would be nice. Al link from the image properties to /Tools/Options/Load+Save/General would be also useful.
Sorry, works or not?, the path you it's the true path which it's done at opening the file.
It works. Test: Moving ODT from D to C drive to a different folder and keeping the relative location of images - It works Nice to have: enhancement in comment 2. (woukd have avoided this bug entry) It still shows in image properties the absolute path of the image (however changed to new location) Still this doesnn't work: file:///image.png it doesn't work (odt is in the same folder) also this doesn't work: file://../image.png file://image.png file://./image.png
[Automated Action] NeedInfo-To-Unconfirmed
(In reply to Wilfried Weigelt from comment #2) > Better would be: Image properties should indicate clearly if the image is > embedded or liked to file. In case it is linked the real path used in the > document should be shown (if if it relative then show relative). > In case of a relative path a button which opens the path where the image is > would be nice. > > Al link from the image properties to /Tools/Options/Load+Save/General would > be also useful.
Yes, the relative URL should not be shown as absolute path. The issue was reported in another ticket. *** This bug has been marked as a duplicate of bug 128216 ***