Need to store image relative path in svg file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I often need to send svg file to friends. Those files often refers to
images. I always puts needed images on the same folder as refered images.
When saaving svg file, images are refered in an absolute path :
<image ... xlink:href=
If I send this svg file and all images to my freinds, they won't be able
to see linked images.
The actual solution is to manually edit the file and change all the href
feilds of <image/> (with vim of course) :
Before :
<image ... xlink:href=
After :
<image ... xlink:href=
I think it would be great to find a GUI solution to present an option
swapping between relative and absolute paths for all images in document
(mabe in the document properties). I don't think it's usefull to have that
option for all images of document. If someone wants a relative path for one
image, he would probably want it for all images in the document.
Thanks
Bruno Duyé
Originator: NO
Using latest devel build, I import a PNG image from the same dir as SVG
and I get relative path in xlink:href. If your results are different,
please detail the steps to get absolute hrefs.