Add places to image/media objects

Feature request 13700

Similar to the date a photo was taken, I would like to specify the place where a photo was taken. Currently I use notes with links to places, but this is unnecessarily complex and doesn’t allow filtering.

In addition to where the photographer was standing, it would also make sense to “tag” places visible in an image (similar to “tagging” people’s faces in a photo). Some use cases for tagging places in images:

  • tag landmarks in a photo
  • tag houses in a photo of a village street
  • tag places in a map image (e.g. a scanned map)

Any chance of this being added in a future update?

I am afraid this would cause many problems in the database schema (creating dependency loops resulting in infinite recursion when querying).

Why don’t you reverse the paradigm? Media are (logically) “secondary” objects, illustrating genealogy “primary” objects (persons, families, events).

Attach your photos to places. Since media references can have attributes, a “category” attribute will tell if it is photographer’s location or target location.

See the Place record relations below (don’t bother for grayed boxes, these are personal thoughts about possible extensions):

The same can be done for persons, families and events. When you display your media (as a Media record), the objects the photo is attached to appears in the References tab.

Makes sense.

Actually, this is a good solution, almost what I was looking for. I was just looking at the wrong end!
Maybe this shows another possible improvement: Adding media references from the Media Editor. If there was a button in the Media Editor window to select a place (or a person, family, event, citation, source) to create a MediaRef for, I would have found it easier.

Do you think it would be possible to add a button next to the edit/pencil icon to add such a reference from the Media Editor?

1 Like

Yes, but we have to be careful. You will be editing two objects at the same time where one references the other. Consider the case where you create a new media object in the media editor and then reference it from a place editor. Suppose you then save the place object with the reference and then decide to cancel creation of the media object. We have to avoid broken links.

Another approach might be to write a new quick entry dialog where all the information can be entered at once.