This project is read-only.

Can only use "mytree.family" file on my machine

Sep 27, 2008 at 3:37 AM
Edited Sep 27, 2008 at 3:53 AM
Hi,

I've uploaded a patch to get around the problem that the family tree file (xxx.family), uses only Fully Qualified Paths to photos (see WorkItem #6014)

eg "C:\Users\My Documents\Family.Show\Photos"

Which means, if you send your "xxx.family " file to someone else to look at - unless this folder structure is on their machine, they can't view any photos that you have included in your family tree.

The xxx.family file is XML and it includes a Relative Path. That is "relative" to xxx.family - which is what you want

eg "..\Photos\myphoto.jpg"

However, the Relative Path is never used.

The patch I've uploaded is a quick job, and needs more thought, but works - and is therefore a good illustration of what I'm after.

I intend to rework the code, and resubmit it, but I'm interested to get any feedback on this.