imported images: no relative paths/wrong absolute path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Buliabyak-users |
Bug Description
System: Windows2000 SP4
Inkscape: version 0.41 and version 0.42
During the import of images the path to the image will
be stored in SVG as absolute path in the Windows
notation ("F:\pic.png").
The storage of an relative path is not possible.
If the stored SVG is viewed in a Mozilla browser (like
Firefox), the image does not appear, because these
browsers understand only the correct notation
"file:/
Hope, you can fix it.
There is a workaround for relative paths. After the
import of an image import it again on top of the first
one. The path of the first image will change to a
relative path "pic.png", while the second one stays in
absolute path notation. Then, the second picture can be
deleted. But this workaround is very time-consuming.
Thanks for fixing
Olaf
Hi, I'd like to make some additional comments to the above:
1. This bug is a big barrier to moving files around. I
moved all my files from one computer with one path structure
to another computer with a different path structure and had
all kinds of grief. Rather than using the file:// format, I
would rather always use the relative path by default.
2. This bug also affects the "Export as bitmap" command -
the last name you typed includes the full path. Again, when
I moved my files to another computer and tried to export, I
had to go browse to the correct directory again.
I could probably help fix this with a bit of guidance (I
haven't worked on the inkscape code yet) - please contact me
if interested.