2008/6/16 Jérôme <romjerome@yahoo.fr>:
Benny,


I tried to make changes ...
http://bugs.gramps-project.org/view.php?id=2144

It works for me, but I do not know if we should use dot and slash or just a dot for relative paths !!!

I think you can drop the ./, but then it starts from the home directory, so the ./ will revert to the active directory, no?
In that sense, it is an intelligent use of the relative path principle :-D
If you drop ./, we can convert to relative path, but the user using the data or example.gramps needs to set the base path in the preferences to the correct position. Not to hard to do, but an extra step, so if ./ works, I would say, keep it.

Benny



2008/6/14 Duncan Lithgow <dlithgow@...>:

   On Sun, 2008-06-01 at 14:56 -0700, Alex Roitman wrote:
   > Jason,
   >
   > On Sun, 2008-06-01 at 16:47 -0500, Jason Simanek wrote:
   > > I tried it out on a VirtualBox VM and it seemed to work very well. I ran the Narrative Web and Web Calendar plugins without any troubles (other than missing image files for the Example database).
   >
   > Oh, I didn't realize that the pics are missing.
   > I'll look into that, thanks!
   This is a GRAMPS problem, not your CD.

   The problem there is that the paths to the pictures are absolute, but
   when the database is imported it defaults to the users home directory as
   the base for the media files.

   I think we need to add a variable to the database and XML output which
   records the base of the media path. Otherwise we can't really ship media
   with the sample XML database - it will never be linked unless manually
   done by the user (not much use as a sample then).


This is available. We only need somebody changing the xml file in subversion to start using relative paths, and to set the media path in the preferences. After this, all will work with images.

Benny