Please do NOT post requests for help here. Use the Help forum for that.

TOPIC: How to mark individuals on group photo ?

How to mark individuals on group photo ? 2 years 8 months ago #1

  • jhf2442
  • jhf2442's Avatar
  • Offline
  • New
  • Posts: 13
Hi,

let's say I have a group photo, like one taken on a family gathering event. There are 20 people on the picture.
Of course I can assign the media document to all 20 of them - this I know how to do in webtrees
but I'd also like to more precisely mark the individuals on the picture, like "Individual I1234 is the second person on the 1st row"

How to do this ? Is there a better way than adding notes to the media ?

Thanks
The administrator has disabled public write access.

How to mark individuals on group photo ? 2 years 8 months ago #2

  • thomas52
  • thomas52's Avatar
  • Online
  • Frequent
  • Western North Carolina
  • Posts: 710
Add a note to the media object itself - for example, see www.adkins.ws/individual.php?pid=I7261 - Media tab
Alternatively, list them in the Media name - see www.adkins.ws/individual.php?pid=I7264 - Media tab
"Failure is an amazing teacher." (L'échec est un professeur extraordinaire.)
The administrator has disabled public write access.

How to mark individuals on group photo ? 2 years 8 months ago #3

  • jhf2442
  • jhf2442's Avatar
  • Offline
  • New
  • Posts: 13
I think this "add a note to the media" thing works fine when having a picture with few individuals on it. But I think it becomes rather unhandy when describing a picture with 50+ individuals like on a family gathering, a wedding ...

Actually I was rather thinking about something equivalent to an HTML Image map
So as to say an overlay over the picture itself with text or links to individuals or ...

Text-only overlay could of course be done using an image editor (gimp, photoshop or the like) locally and then uploading the file. But links to individuals can't be inserted within a picture
The administrator has disabled public write access.

How to mark individuals on group photo ? 2 years 8 months ago #4

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Gold
  • Greetings from Utrecht, Holland
  • Posts: 1286
Alas webtrees won't let you do that. It's designed for photos or document scans related to one person or maybe a family consisting of parents and children. It's not just webtrees but the underlying GEDCOM storage structure that makes this feature difficult to implement. It's been asked for before...

You can ofcourse make an image map outside the scope of webtrees (or inside with the simpl_page module) and create links to the person pages inside webtrees. What I sometimes do is take selections of the group portrait of individual faces but also put the group photo on the page of a family.
stamboom.BertKoor.nl runs on webtrees v1.7.9
The administrator has disabled public write access.

How to mark individuals on group photo ? 2 years 8 months ago #5

  • thomas52
  • thomas52's Avatar
  • Online
  • Frequent
  • Western North Carolina
  • Posts: 710
In some cases, images of documents can be difficult to read, and can be expanded on with either notes or a link to another page.
I have a transcript from a family bible that I wanted to use with more than just the transcript, so I linked a page to the individuals, i.e.
Great-grandfather @ www.adkins.ws/individual.php?pid=I011 has a note with his birth data sourcing the family bible @ adkins.ws/media/AdkinsFamilyBible.htm
In another case ggg-g @ www.adkins.ws/individual.php?pid=I015 has his birth sourced to www.adkins.ws/media/WardFamilyBible.htm
There is also a family group photo linked to www.adkins.ws/family.php?famid=F010 with a note for the individuals, however in earlier versions of webtrees, the note actually appeared on the screen at the bottom of the photo when you clicked on it. I'm still on 1.6.1 right now, so I don't know how 1.6.2 responds, but perhaps a request to restore the note to the bottom of the photo image can be submitted once we get our upcoming major revision completed.
As Bert Koor mentioned, simpl_page is an option, and I am trying that as well - see the 'Resources' and 'Menu' tabs on the main menu for examples.
"Failure is an amazing teacher." (L'échec est un professeur extraordinaire.)
The administrator has disabled public write access.

How to mark individuals on group photo ? 2 years 8 months ago #6

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10865
You can create a second copy of the photo, and use photoshop (or your favourite graphics tool) to write text labels over each individual.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

How to mark individuals on group photo ? 1 year 9 months ago #7

  • NikitaRus
  • NikitaRus's Avatar
bertkoor wrote:
Alas webtrees won't let you do that. It's designed for photos or document scans related to one person or maybe a family consisting of parents and children. It's not just webtrees but the underlying GEDCOM storage structure that makes this feature difficult to implement. It's been asked for before...

You can ofcourse make an image map outside the scope of webtrees (or inside with the simpl_page module) and create links to the person pages inside webtrees. What I sometimes do is take selections of the group portrait of individual faces but also put the group photo on the page of a family.[url=http://http://www.java2s.com/Open-Source/Javascript_Free_CodeDownload/p/photolabel-master.zip]jQuery.photoLabel[/url]

Do you think that may interfere to implement the following code: familyingeneer.com\demojQuery.photoLabe. Do you think this is not possible in principle ? Initial data on jQuery.photoLabel (http://http://www.java2s.com/Open-Source/Javascript_Free_CodeDownload/p/photolabel-master.zip]jQuery.photoLabel)
Last Edit: 1 year 9 months ago by NikitaRus.
The administrator has disabled public write access.

How to mark individuals on group photo ? 1 year 9 months ago #8

  • Tel
  • Tel's Avatar
  • Offline
  • New
  • Posts: 33
bertkoor wrote:
Alas webtrees won't let you do that. It's designed for photos or document scans related to one person or maybe a family consisting of parents and children. It's not just webtrees but the underlying GEDCOM storage structure that makes this feature difficult to implement. It's been asked for before...

Desktop software allows you to assign parts of a larger photo. to individuals. I use Family Historian which allows you to do just this using NOTE and _AREA tags, as in the follow example:
0 @O143@ OBJE
1 FORM jpeg
1 TITL Forder-Emma_&_Joan_(Daughter)
1 _FILE D:\Genealogy\Photos_&_Media\Forder-Emma_&_Joan_(Daughter).jpg
1 _DATE 1965
1 _KEYS Picture
1 NOTE Joan Dunning (nee Ashley)
2 _ASID 1
2 _AREA {115,605,594,1009}
1 NOTE 
2 _ASID 2
2 _AREA {133,628,560,940}
1 NOTE 
2 _ASID 3
2 _AREA {148,387,494,662}
1 CHAN
2 DATE 16 FEB 2016
3 TIME 17:04:29

The _AREA tag includes image coordinates to reference that part of an image corresponding to an individual. However, I don't believe the output is GEDCOM compliant as indicated by the underscore (signifying a non-core tag). Perhaps the original request is one for the 'Wish List'.
Terry
running webtrees 1.7.6 at mynorfolkancestors.net
on PHP 5.5.3x, MySQL 5.5.4x
Last Edit: 1 year 9 months ago by Tel.
The administrator has disabled public write access.
Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

How to mark individuals on group photo ? 1 year 9 months ago #9

  • norwegian_sardines
  • norwegian_sardines's Avatar
  • Offline
  • Gold
  • Posts: 1429
All of the "tags" with the preceding underline are invalid GEDCOM tags.

Even if they were valid they do not create the map overlay by themselves, software must be created to do the overlay work. This software is not included in webtrees.

What I do is create a PDF of the photo with a second page that contains another image with names of the people over their face. Similar to what Greg does.
Ken
The administrator has disabled public write access.

How to mark individuals on group photo ? 1 year 9 months ago #10

  • NikitaRus
  • NikitaRus's Avatar
Tel wrote:
bertkoor wrote:
Alas webtrees won't let you do that. It's designed for photos or document scans related to one person or maybe a family consisting of parents and children. It's not just webtrees but the underlying GEDCOM storage structure that makes this feature difficult to implement. It's been asked for before...

Desktop software allows you to assign parts of a larger photo. to individuals. I use Family Historian which allows you to do just this using NOTE and _AREA tags, as in the follow example:
0 @O143@ OBJE
1 FORM jpeg
1 TITL Forder-Emma_&_Joan_(Daughter)
1 _FILE D:\Genealogy\Photos_&_Media\Forder-Emma_&_Joan_(Daughter).jpg
1 _DATE 1965
1 _KEYS Picture
1 NOTE Joan Dunning (nee Ashley)
2 _ASID 1
2 _AREA {115,605,594,1009}
1 NOTE 
2 _ASID 2
2 _AREA {133,628,560,940}
1 NOTE 
2 _ASID 3
2 _AREA {148,387,494,662}
1 CHAN
2 DATE 16 FEB 2016
3 TIME 17:04:29

The _AREA tag includes image coordinates to reference that part of an image corresponding to an individual. However, I don't believe the output is GEDCOM compliant as indicated by the underscore (signifying a non-core tag). Perhaps the original request is one for the 'Wish List'.


I understand that this task is beyond the GEDCOM standard. My question is whether it is possible to implement this feature is in webtrees? Even losing the ability to export to other programs . My main task is to leave the comfortable viewing tool for children.
The administrator has disabled public write access.

How to mark individuals on group photo ? 1 year 9 months ago #11

  • lambosprit
  • lambosprit's Avatar
  • Offline
  • New
  • Posts: 12
Hi there.

I've had the same wish for a while and am in the process of creating a face tagging module for webtrees which may be useful to you.

First a couple of disclaimers
I haven't finished it yet but when I do I will release it (hopefully soon work permitting).
It will only work on a windows based server as the face tagging software is built for that. I am not a linux guy so cannot create a linux version but the software I am using can be built on linux if someone has the skills.
I am trying to integrate it as much as possible with standards. So I'm using as much webtrees functionality as possible and sticking to gedcom where I can but as has been pointed out there is no standard for storing this info. My opinion is that if there is no standard I can create my own way of doing it so at the moment I am just creating a table with the data in which will store the links between tags and individuals. GEDCOM export is not a priority as no other software will be able to make any sense of it.
My module will allow for adding of pictures, tagging of pictures and viewing of pictures with tags.

So just to say where I'm at,
I have a working prototype which allows we to upload a photo into webtrees , search it for faces and display the tags. The tags can be linked to an individual using the find form from webtrees. I also have a prototype that can read the tag data and display it against the photo when you move over a picture so the picture isn't cluttered or you can lock a face to show the tag whether you are over it or not.

I am currently working on storing the tag data in the database and retrieving it so I'm not far off so keep watching this space.
The administrator has disabled public write access.

How to mark individuals on group photo ? 1 year 9 months ago #12

  • jhf2442
  • jhf2442's Avatar
  • Offline
  • New
  • Posts: 13
Hi lambosprit

do you already have the code available somewhere ?
what's the name of the face tagging software you're using ?

Could think about providing the linux part

Many thanks
The administrator has disabled public write access.

How to mark individuals on group photo ? 1 year 7 months ago #13

  • Andreas
  • Andreas's Avatar
  • Offline
  • Senior
  • Posts: 324
Let me use your answer to place a new request concerning the use of an image with a map in the ‘Home page’ HTML blocks of webtrees.
bertkoor wrote:
Alas webtrees won't let you do that. .

But you proposed in the next sentence:

bertkoor wrote:
You can ofcourse make an image map outside the scope of webtrees (or inside with the simpl_page module) and create links to the person pages inside webtrees. What I sometimes do is take selections of the group portrait of individual faces but also put the group photo on the page of a family.

that's what I tried.

But the code with the map-tag was erased from the code of the HTML-block
Where is the button to allow the HTML-tag <map>?
always searching for members of the MAUPILLÉ and RAUHUT family using a common webtrees installation.
The administrator has disabled public write access.

How to mark individuals on group photo ? 1 year 7 months ago #14

  • Gustine
  • Gustine's Avatar
  • Offline
  • Junior
  • Posts: 120
The only solution I found is to use phpMyAdmin ...
Pity
webtrees 1.7.9 (+ module sosa17 + vytux_menu + ancestral fan chart) - Mageia 5.1 (php 5.6.32)
The administrator has disabled public write access.

How to mark individuals on group photo ? 1 year 7 months ago #15

  • Andreas
  • Andreas's Avatar
  • Offline
  • Senior
  • Posts: 324
That's interesting, too.

But I noticed that the image map code, when entered in source code format will besaved correctly.

But you mustn't retry to edit it a second time. :-))

In former versions of CKEditor it was possible to define allowed and not allowd tag easily.
This is quite more difficult now.
always searching for members of the MAUPILLÉ and RAUHUT family using a common webtrees installation.
The administrator has disabled public write access.

How to mark individuals on group photo ? 1 year 7 months ago #16

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10865
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

How to mark individuals on group photo ? 1 year 7 months ago #17

  • Andreas
  • Andreas's Avatar
  • Offline
  • Senior
  • Posts: 324
Thank you. This seems really to be the good solution, but unfortunately, I don't understand the way to make it work.

Please tell me what's wrong in my thoughts.

I edited the file modules_v3/ckeditor/config.js . Initially it contains one line of code:

CKEDITOR.editorConfig=function(){};

To this line I added the code mentioned at github.com/fisharebest/webtrees/issues/924

config.extraAllowedContent = 
              'area[!shape,!coords,!href,!target,alt];' +
              'map[!name];';

After saving the modified file to the server I tried the editor on my webtrees installation and ... nothing changed.
The map-tag, as well as the usemap property of the img-tag disappeared when re-opening the editor with the formerly changed source code.
always searching for members of the MAUPILLÉ and RAUHUT family using a common webtrees installation.
The administrator has disabled public write access.

How to mark individuals on group photo ? 1 year 7 months ago #18

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10865
Fixed - github.com/fisharebest/webtrees/commit/a...79671f07271428467f4e

I tested this using the image map on my own site fisharebest.webtrees.net/
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

How to mark individuals on group photo ? 1 year 7 months ago #19

  • Gustine
  • Gustine's Avatar
  • Offline
  • Junior
  • Posts: 120
Easiest way is perhaps to disable CK module and directly edit html code...
webtrees 1.7.9 (+ module sosa17 + vytux_menu + ancestral fan chart) - Mageia 5.1 (php 5.6.32)
The administrator has disabled public write access.

How to mark individuals on group photo ? 1 year 7 months ago #20

  • Andreas
  • Andreas's Avatar
  • Offline
  • Senior
  • Posts: 324
Thank you for the answer. I'm late to reply.

But only today I tried to fix my small problem.

And it works. :-))

Thank you.....
always searching for members of the MAUPILLÉ and RAUHUT family using a common webtrees installation.
The administrator has disabled public write access.

How to mark individuals on group photo ? 1 year 7 months ago #21

  • joeysun
  • joeysun's Avatar
  • Offline
  • New
  • Posts: 43
I am really interested in this topic. A lot has transpired in this thread over the past year. Could someone explain what transpired and what solution was worked out? Maybe a link to one of their examples on their webtrees installation would help, if possible.
I need it explained like I am 5 years old.
Doug
webtrees v1.7.9 at Our Family Jiapu 家譜/家谱
PHP Version 5.6.25
Last Edit: 1 year 7 months ago by joeysun. Reason: clarity
The administrator has disabled public write access.

How to mark individuals on group photo ? 1 year 7 months ago #22

  • NikitaRus
  • NikitaRus's Avatar
fisharebest wrote: Andreas wrote:
Thank you for the answer. I'm late to reply.

But only today I tried to fix my small problem.

And it works. :-))

Thank you.....


Hello! Please tell us in detail how to make changes ? Unfortunately I am not an expert in programming :( Or tell us where there are similar examples . If I 'll take care of take off video lesson for everyone. Are you going to implement your changes to the main distribution webtrees?
The administrator has disabled public write access.

How to mark individuals on group photo ? 1 year 7 months ago #23

  • Andreas
  • Andreas's Avatar
  • Offline
  • Senior
  • Posts: 324
So let me try to resume.

First I'm not an expert in programming neither, but I found it neccessary to use the <map> tag in my HTML code.

The solution is to modify a core file of the webtrees installation. So this need to be readjusted after each version release of webtrees.
I suppose that it will not become a basic feature in future webtrees installation.

I agree with this because this kind of editor had been attacked frequently. So I prefere that we stay careful.

All was explained clearly in github.com/fisharebest/webtrees/commit/aa4af7e4b5d8515c758179671f07271428467f4e
You need to modify one file app/Module/CkeditorModule.php
by adding two lines and modifying one other line. After uploading the modified file to your server you will be able to insert <map> tags to your HTML-code everywhere in webtrees.
And this code will not be removed. :-))

The image map code itself has to be created by online or offline tools. These can be found easily by a google search.

---

An enhancement would be to add <map> functionality to CKEditor by adding a plugin.

But as I told above, I'm not a programmer.
always searching for members of the MAUPILLÉ and RAUHUT family using a common webtrees installation.
Last Edit: 1 year 7 months ago by Andreas.
The administrator has disabled public write access.

How to mark individuals on group photo ? 1 year 7 months ago #24

  • joeysun
  • joeysun's Avatar
  • Offline
  • New
  • Posts: 43
Andreas,

Can you share a link or screen print on what you have done? You had mentioned in another thread that your former home page has these map tags. Have you've updated your home page yet? I might have navigated incorrectly on your site as I cannot find your images with the map tags.
Doug
webtrees v1.7.9 at Our Family Jiapu 家譜/家谱
PHP Version 5.6.25
The administrator has disabled public write access.

How to mark individuals on group photo ? 1 year 7 months ago #25

  • Andreas
  • Andreas's Avatar
  • Offline
  • Senior
  • Posts: 324
Hello Joeysun,

The image I used for my first try is the tree on my homepage of http://wt.rauhut.eu


So feel free to have a look on my webtrees installation.
Try the links behind the text. They ar not jet full functionally.

And feel free to ask
always searching for members of the MAUPILLÉ and RAUHUT family using a common webtrees installation.
Last Edit: 1 year 7 months ago by Andreas.
The administrator has disabled public write access.
Moderators: makitso
Powered by Kunena Forum