Dear John and Nick:

Ok, to be able to separate what we are talking about to make sure that I am understanding you...

There are eight different object's in the database (Person, Family,  Events, Places, Source, Repository, Media, and Note),  and the media object within the database can be edited by the media editor...

Exif metadata can be viewed by MetadataViewer in the MediaView's bottombar, and it can be viewed/ edited by "Edit Image Exif Metadata" in MediaView's sidebar...

Tags and Attributes can be edited/ created by Gramps...  "Edit Image Exif Metadata" can also create/ edit anything that the media editor can by accessing the DbTxn...

It would be easy to be able to save the media path within the Exif metadata, but we would need to isolate and find an Exif key that no one uses and save the file path to it...

Nick Hall, do you know of an Exif tag that could be used for this purpose...?

Sincerely yours,
Rob G. Healey




On Mon, Aug 8, 2011 at 1:49 PM, John Ralls <jralls@ceridwen.us> wrote:

On Aug 8, 2011, at 1:07 PM, Rob Healey wrote:

> Dear John and Jerome:
>
> There was some talk in the beginning of creating the "Edit Image Exif Metadata" addon, about having functionality for being able to save items into the Attributes of the media object itself?
>
> I think that this might be a great idea for what the both of you are talking about???
>
> What do you think?  Does a media object's Attributes have the same filtering abilities as an object's tags?
>
> Sincerely yours,
> Rob G. Healey
>
> On Sun, Aug 7, 2011 at 9:23 AM, John Ralls <jralls@ceridwen.us> wrote:
>
> On Aug 7, 2011, at 1:25 AM, jerome wrote:
>
> > About tagging, Nick.H made tags active on database. :)
> >
> > Media objects have this feature enabled...
> >
> > I use it for grouping media, like into some photo managers.
> > Same idea with notes: my 'english' notes are tagged with addition of translated notes for them.
> >
> > So, these custom tags are stored on gramps database but might be also written on the media itself ?
>
> Not necessarily the same tags, but yes, that's what Rob's extension does: It writes tags into the media file's metadata.

Rob,

I'm not sure that I understand your questions, or what you mean by "Media Object". Certainly a Gramps media list can be filtered by the Metadata (ID, Notes, Atributes, Reference Count) stored in the Gramps database, but I don't think that there's any way at present for Gramps to do anything more with an image file's metadata than to edit or display it for the currently selected media item. There's no reason that I can think of that Gramps couldn't build a table of image metadata and make that searchable or filterable, but what I had in mind was that Gramps could copy the source data from the media item's record in the Gramps database onto the image file, which could be used outside of Gramps or to reconnect the image file with its media item if the file symlink in the database were to become invalid.

Regards,
John Ralls




--
Sincerely yours,
Rob G. Healey

"Always surround yourself with people that inspire you to
greatness!"