Web based family history software

Question How to mark individuals on group photo ?

More
7 years 9 months ago - 7 years 9 months ago #121 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
I found that:

- it doesn't work if there is still another note in the media entry
- I still doesn't show the mapped persons

On a new non mapped image it gives a (+)
- once entered a PID or firstname - lastname you aren't able to modify

I don't understand intuitively the procedure

btw custom_js is empty and disabled

Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18
Last edit: 7 years 9 months ago by Andreas.

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago - 7 years 9 months ago #122 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
I had a look on your page tree.iamdrunk.ru/mediaviewer.php?mid=M59&ged=test.test

That seems fine. On my page the same picture shows small high rectangles on the left side of the heads.

Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18
Last edit: 7 years 9 months ago by Andreas.

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago - 7 years 9 months ago #123 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
I had a look in the database. The record didn't mention the shape type of polygon. So it doesn't wonder, why there is no satisfying result.

So I deleted the entry in the database and started new.

The procedure of clicking on the (+) and drawing an area over the persons is working.
After entering the PID and saving I see the areas on mouseover, but there is no link to the INDI page.

What's about editing existing entries ? For the moment I suppose, it must be done in the database.

There is still a great potential. :-))

Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18
Last edit: 7 years 9 months ago by Andreas.

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago - 7 years 9 months ago #124 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
Another point to think about.

Existing maps are interpreted but not all lignes are recognized.

example the media M4933
had the follwing map in the note :
Code:
<map name="map"> <area data-pid="26887I" coords="548,334,604,548" href="#" shape="rect" /> <area data-pid="24217I" coords="650,405,701,553" href="#" shape="rect" /> <area data-pid="26922I" coords="704,391,755,556" href="#" shape="rect" /> <area data-pid="26898I" coords="606,416,651,529" href="#" shape="rect" /> <area data-pid="95I" coords="332,352,404,546" href="#" shape="rect" /> <area data-pid="inconnu" coords="69,363,147,551" href="#" shape="rect" /> <area data-pid="inconnu" coords="409,341,468,541" href="#" shape="rect" /> <area data-pid="inconnu" coords="474,338,540,541" href="#" shape="rect" /> </map>

After saving the image (save) and deleting the map from the medias note there is only one area with inconnu

and the areas aren't clickable (for visitors & editors)

Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18
Last edit: 7 years 9 months ago by Andreas.

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago - 7 years 9 months ago #125 by UksusoFF
Replied by UksusoFF on topic How to mark individuals on group photo ?
@Andreas

I add some debug log messages to module.

Please update to latest master version.
Go to wt.rauhut.eu/module.php?mod=photo_note_w...method=get&mid=M3837
Where M3837 id of not working image.

Then go to wt.rauhut.eu/admin_site_logs.php and give me logs which started with Photo Note With Image Map.

About not all areas. You no need closed slash in area tag. And try to rename "inconnu" as "inconnu 1" etc. It's works?

You can't edit or delete area on image in current latest master. I will add this after fix all errors.

And about poly. You can manually create poly shape by edit coords in DB (or maybe in admin area in next release). If coords more than 4 it's will be rendered as poly otherwise as rect.
I think that for mark peoples on photo rect is fully enough.

INDI page link will be fixed asap.
Last edit: 7 years 9 months ago by UksusoFF.

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #126 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
@UksusoFF

Updated to latest master

Went to wt.rauhut.eu/module.php?mod=photo_note_w...method=get&mid=M3837
result:
Code:
{"success":true,"data":{"map":{"23033I":{"found":true,"pid":"23033I","name":"Luise Pramsch\u00fcfer","life":"1902\u20131936","coords":["496","29","692","441"]},"23032I":{"found":true,"pid":"23032I","name":"Willy Herrmann Otto Boldt","life":"1894\u20131945","coords":["199","251","470","1095"]}},"edit":true}}

logs which started with Photo Note With Image Map
Code:
Horodatage Type Message Adresse IP Nom d’utilisateur Arbre généalogique 2017-02-14 18:12:36 debug Photo Note With Image Map: no errors, debug data - {"method":"get","mid":"M3837","result":{"23033I":{"found":true,"pid":"23033I","name":"Luise Pramsch\u00fcfer","life":"1902\u20131936","coords":["496","29","692","441"]},"23032I":{"found":true,"pid":"23032I","name":"Willy Herrmann Otto Boldt","life":"1894\u20131945","coords":["199","251","470","1095"]}},"settings":"[{\"pid\":\"23033I\",\"coords\":[\"496\",\"29\",\"692\",\"441\"]},{\"pid\":\"23032I\",\"coords\":[\"199\",\"251\",\"470\",\"1095\"]}]"} 95.222.27.102 Andreas GAC.ged 2017-02-14 18:12:24 debug Photo Note With Image Map: no errors, debug data - {"method":"get","mid":"M3837","result":{"23033I":{"found":true,"pid":"23033I","name":"Luise Pramsch\u00fcfer","life":"1902\u20131936","coords":["496","29","692","441"]},"23032I":{"found":true,"pid":"23032I","name":"Willy Herrmann Otto Boldt","life":"1894\u20131945","coords":["199","251","470","1095"]}},"settings":"[{\"pid\":\"23033I\",\"coords\":[\"496\",\"29\",\"692\",\"441\"]},{\"pid\":\"23032I\",\"coords\":[\"199\",\"251\",\"470\",\"1095\"]}]"} 95.222.27.102 Andreas GAC.ged

You can't edit or delete area on image in current latest master. I will add this after fix all errors.

That is the best way.

I think that for mark peoples on photo rect is fully enough.

Yes, of course. But the description has to be modified /completed.

Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #127 by UksusoFF
Replied by UksusoFF on topic How to mark individuals on group photo ?
@Andreas

As I can see, now it's work? I can't get access to M3837 for check this.

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #128 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
Sorry, my mother as a child of these two is still alive. This forbid to see details of the parents.

I "killed" her temporarly for the tests.



Better let's try with M4933.

Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #129 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
The links in M4933 are working good. And the names are shown.

Whats about the links in M6879 ? Was created recently via your procedure via (+)
On the top of the image only the PIDs are visible and the links aren't functional. :-((

Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #130 by UksusoFF
Replied by UksusoFF on topic How to mark individuals on group photo ?

Andreas wrote: The links in M4933 are working good. And the names are shown.

Whats about the links in M6879 ? Was created recently via your procedure via (+)
On the top of the image only the PIDs are visible and the links aren't functional. :-((

I think that you use wrong id 62887I must be 26887I?

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #131 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
Oups !!!!! Yes of course. I mixed up the numbers.

But it's repaired and still no link.

Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #132 by UksusoFF
Replied by UksusoFF on topic How to mark individuals on group photo ?

Andreas wrote: Oups !!!!! Yes of course. I mixed up the numbers.

But it's repaired and still no link.

Please update ;)

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago - 7 years 9 months ago #133 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
Updated.


what do you want that I try?
wt.rauhut.eu/mediaviewer.php?mid=M6879&ged=GAC.ged
doesn't have links. I will add some to very old INDIs, my ancestors.

The links work fine in the names on top of the image, but I thought I can click also on the mapped area to link to the INDI page.

I will continue tomorrow. Have a fine evening.

Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18
Last edit: 7 years 9 months ago by Andreas.

Please Log in or Create an account to join the conversation.

  • jhf2442
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 9 months ago #134 by jhf2442
Replied by jhf2442 on topic How to mark individuals on group photo ?
Hi UksusoFF

installed latest master and runs fine for me (tested on 2 pics, 1 converted from old scheme and one created from scratch with visual interface). Great job !

And many thanks for mapping individual ID's to names in the title field :-)

What I'm missing is the possibility to remove individuals (in case I e.g. had a typo when creating the map, or if I convert a name to a GEDCOM ID after having created a new individual). Was able to edit the data by fiddling with phpmyadmin, but it's not the nicest way of doing

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #135 by UksusoFF
Replied by UksusoFF on topic How to mark individuals on group photo ?

Andreas wrote: Updated.


what do you want that I try?
wt.rauhut.eu/mediaviewer.php?mid=M6879&ged=GAC.ged
doesn't have links. I will add some to very old INDIs, my ancestors.

The links work fine in the names on top of the image, but I thought I can click also on the mapped area to link to the INDI page.

I will continue tomorrow. Have a fine evening.

As I can see you still have old version:
wt.rauhut.eu/modules_v3/photo_note_with_image_map/_js/module.js
Your file different from latest:
github.com/UksusoFF/photo_note_with_imag...er/_js/module.js#L90

jhf2442 wrote: Hi UksusoFF

installed latest master and runs fine for me (tested on 2 pics, 1 converted from old scheme and one created from scratch with visual interface). Great job !

And many thanks for mapping individual ID's to names in the title field :-)

What I'm missing is the possibility to remove individuals (in case I e.g. had a typo when creating the map, or if I convert a name to a GEDCOM ID after having created a new individual). Was able to edit the data by fiddling with phpmyadmin, but it's not the nicest way of doing

I will make edit soon.

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #136 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
Hello UksusoFF,

You say that I have still old version.
I took the last one from github.com/UksusoFF/photo_note_with_imag...p/archive/master.zip


I renew the update.

Ok, works fine. Now names in head line as well as areas are linking to INDI page.

Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18

Please Log in or Create an account to join the conversation.

  • fa10175
  • Away
  • Senior Member
  • Senior Member
More
7 years 9 months ago #137 by fa10175
Replied by fa10175 on topic How to mark individuals on group photo ?
Thanks to Andreas, UksusoFF .
Great Job

I test the last version.
it 's very easy to define a new aera nothing to add inside ged.

Just few points:

a) i try with 2 trees => work fine ( i don't have any problem myself because for tree 1 objet begin by M , the id by I for the tree 2 objet begin by W and the id begin by J) becareful to the other people
b) no possiblity to remove a map for an objet (except to go to database {wt_module_setting})
c) now you should enter text or id but if you add the possibility to find an ID by the name these are wonderful

thanks again

Please Log in or Create an account to join the conversation.

  • fa10175
  • Away
  • Senior Member
  • Senior Member
More
7 years 9 months ago #138 by fa10175
Replied by fa10175 on topic How to mark individuals on group photo ?
just an info
I test also to delete an objet
i still see in the database wt_module_setting the occurence this one are not deleted

Please Log in or Create an account to join the conversation.

  • fa10175
  • Away
  • Senior Member
  • Senior Member
More
7 years 9 months ago #139 by fa10175
Replied by fa10175 on topic How to mark individuals on group photo ?

i still see in the database wt_module_setting the occurence this one are not deleted


Warning I do not know if you reload a new gedcom, if the objects are destroyed too. We risk losing the "map"

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #140 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
@UksusoFF

Up to now, you made a good job. There is still a lot of open questions an work.

Perhaps it will even be integrated in the standard distribution.

But when you think it's ok, it would be fine to have your module in every language.

Don't hesitate to send me the language files. I will do at least the translation to French and German language.

Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum