← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 170225] Re: relative image paths instead of absolute

 

Tested and found to be partially working on Win 8. (Yesss!!)
Furthermore, there's no difference between using \ or / as a folder delimiter in the paths on Win 8.

1. Created new Inkscape file and put it into "foldername-1".
2. Added some random GIF, JPG and PNG-files to a subfolder called "subfolder"
3. Drag-and-dropped files into Inkscape file.
4. Closed Inkscape, renamed parent folder to "foldername-2".
5. Opened Inkscape.

Result:
Linked image files were still loaded as the xlink:href is still relative. 
Really good! :D :D :D

However, if some of the paths are absolute, Inkscape 0.91pre4 r13712 crashes upon loading the file.
Furthermore, for some reason, it's possible to import a JPG or GIF file into the same SVG. Any combination of JPG+PNG or GIF+PNG works but GIF+JPG crashes Inkscape upon importing the second file.

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to inkscape in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/170225

Title:
  relative image paths instead of absolute

Status in Inkscape: A Vector Drawing Tool:
  Fix Released
Status in inkscape package in Ubuntu:
  Triaged
Status in inkscape package in Debian:
  Confirmed
Status in inkscape package in Mandriva:
  New

Bug description:
  Currently, if you have created an SVG file with images, 
  you can't move these images to any other directory, 
  because the image paths are absolute in this SVG. So, 
  for example, I have a very large project that has loads 
  of SVG images and they all have images inside. But I 
  can't share this project with AYNYONE, necause the 
  image paths are absolute, so if someone else opens an 
  SVG from other lolaction... Nor it lets me move the 
  project to another folder, organize things etc. I have to 
  keep my projects in one folder, I can't move or copy 
  them to other locations and I can't share them :-(

To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/170225/+subscriptions