Web based family history software

Question How to mark individuals on group photo ?

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

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

Great, I think we can mark this release as 2.0 ;)

fa10175 wrote: 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

Module tested for separate trees. Maybe GUID will help for cross-tree individuals?

fa10175 wrote: b) no possiblity to remove a map for an objet (except to go to database {wt_module_setting})

It's in roadmap.

fa10175 wrote: c) now you should enter text or id but if you add the possibility to find an ID by the name these are wonderful

It's in roadmap.

fa10175 wrote: I test also to delete an objet
i still see in the database wt_module_setting the occurence this one are not deleted

Thank, added todo.

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

Yep, I don't think so anyone use GEDCOM as sync. Just as initial migrate from desktop software. It's described as warning on github page.

Andreas wrote: Perhaps it will even be integrated in the standard distribution.

I don't think so. Because has no valid format to store this data in GEDCOM.

Andreas wrote: 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.

Thanks, I will write if module will be have many language file (except +, save and reset button ;)
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 #142 by UksusoFF
Replied by UksusoFF on topic How to mark individuals on group photo ?
Latest master version contain delete individuals feature.
Welcome for testing ;)

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

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

UksusoFF wrote: Latest master version contain delete individuals feature.
Welcome for testing ;)


GREAT!! In fact, no translation needed. I didn't find problems.

But every time when something new appears, other features seem to be usefull.
1- reordering the names of persons once the work is done. (but this is a nice to have feature)

Felicitations.

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

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 #144 by jhf2442
Replied by jhf2442 on topic How to mark individuals on group photo ?
I'm sure I'm missing something obvious...... how do I remove an individual with v2.0 ?

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

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

jhf2442 wrote: I'm sure I'm missing something obvious...... how do I remove an individual with v2.0 ?

No way in 2.0, use latest master version .

Andreas wrote: 1- reordering the names of persons once the work is done. (but this is a nice to have feature)

I will think how it's can be implemented.

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

More
7 years 9 months ago #146 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
@UksusoFF,
another anoying fact. I'm missing the functionality to (save) maps from notes to the database. I will try to find the old version, where it was still able.
I started too early to create maps. :-((

PS: please note the actually used version including revision no. in the description shown in Module administration

Code:
This module integrate ImageMapster and imgAreaSelect libraries with webtrees. And provide easy way to mark people on group photo. Custom module - Version 2.0 - https://github.com/UksusoFF/photo_note_with_image_map

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 #147 by UksusoFF
Replied by UksusoFF on topic How to mark individuals on group photo ?

Andreas wrote: @UksusoFF,
another anoying fact. I'm missing the functionality to (save) maps from notes to the database. I will try to find the old version, where it was still able.
I started too early to create maps. :-((

PS: please note the actually used version including revision no. in the description shown in Module administration

Code:
This module integrate ImageMapster and imgAreaSelect libraries with webtrees. And provide easy way to mark people on group photo. Custom module - Version 2.0 - https://github.com/UksusoFF/photo_note_with_image_map


Yes, I removed this functions.
Please use 2.0 version for migrate all notes to module settings. Then update to latest master.

Old versions here: github.com/UksusoFF/photo_note_with_image_map/releases

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

  • fa10175
  • Away
  • Senior Member
  • Senior Member
More
7 years 9 months ago #148 by fa10175
Replied by fa10175 on topic How to mark individuals on group photo ?
I test the lastest version
few comments
a) to delete ok except it take timet display the dialogue to confirm
b) when they are not note we saw /media/...Jpg instead the title
c) after delete all note we still saw in the database {wt_module_setting} the occurence with nothing inside

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

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

UksusoFF wrote: Yes, I removed this functions.
Please use 2.0 version for migrate all notes to module settings. Then update to latest master.
Old versions here: github.com/UksusoFF/photo_note_with_image_map/releases

I tried it, but no chance to migrate with shape=circle or polygone

Conclusion: It seems better to restart with newest module version, erase the notes with map-code and mark individuals.

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 #150 by UksusoFF
Replied by UksusoFF on topic How to mark individuals on group photo ?

fa10175 wrote: a) to delete ok except it take timet display the dialogue to confirm

I think that destructive actions must be confirmed for prevent occasional clicks.

fa10175 wrote: b) when they are not note we saw /media/...Jpg instead the title

Fixed in latest master.

fa10175 wrote: c) after delete all note we still saw in the database {wt_module_setting} the occurence with nothing inside

Yep, clean up settings still in roadmap.

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

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

a) to delete ok except it take timet display the dialogue to confirm
I think that destructive actions must be confirmed for prevent occasional clicks.


i agree with you but to have this question it take a long time to see the question

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

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

fa10175 wrote: i agree with you but to have this question it take a long time to see the question

Can you show video? For me dialog shown very fast.

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

More
7 years 9 months ago #153 by Sodan
Replied by Sodan on topic How to mark individuals on group photo ?
Great job UksusoFF!
I'm using the master version, this is fantastic, almost perfect, really easy to use :-)

Two questions:

1) Is there an easy way to export/import the maps?
If we have to reinstall a fresh version of webtrees this would be useful, or just to make backups without having to use SQL.

2) Is it possible to make the plugin tablet/smartphone friendly?
For instance a tap on a face could open up the frame with the information of the individual (ie. same as "hover" with a mouse), then a link or just a tap inside this frame could redirect to the individual's page (ie. same as "click" with a mouse).

Regards,

webtrees 2
nginx, PHP 7, MariaDB, HTTP/2
genealorand.com

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

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

Sodan wrote: 1) Is there an easy way to export/import the maps?
If we have to reinstall a fresh version of webtrees this would be useful, or just to make backups without having to use SQL.

At now only SQL dump. Maybe it will be implemented when I will create admin page for image manage.

Sodan wrote: 2) Is it possible to make the plugin tablet/smartphone friendly?
For instance a tap on a face could open up the frame with the information of the individual (ie. same as "hover" with a mouse), then a link or just a tap inside this frame could redirect to the individual's page (ie. same as "click" with a mouse).

I can detect touch. And can show tooltip. But can't open individual's page by touching tooltip. Looks like ImageMapster lib handle all clicks and touches inside tooltip and prevent it.

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

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

UksusoFF wrote:

fa10175 wrote: i agree with you but to have this question it take a long time to see the question

Can you show video? For me dialog shown very fast.


for me it appears very quickly,too. Even immediately.

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 #156 by Sodan
Replied by Sodan on topic How to mark individuals on group photo ?

UksusoFF wrote:

Sodan wrote: 2) Is it possible to make the plugin tablet/smartphone friendly?
For instance a tap on a face could open up the frame with the information of the individual (ie. same as "hover" with a mouse), then a link or just a tap inside this frame could redirect to the individual's page (ie. same as "click" with a mouse).

I can detect touch. And can show tooltip. But can't open individual's page by touching tooltip. Looks like ImageMapster lib handle all clicks and touches inside tooltip and prevent it.


I tried a few things to get a link inside the tooltip.
The result is not great (there's room to improve!), but I managed to get a link, and was able to click on it on my tablet.

I am not a developer so I may be missing some points, but here is what I've done :

In _js/module.js :
Code:
line 25: I changed this: '<p class="pnwim-tooltip-name">' + '<a href="' + link + '">' + item.name + '</a></p>' + line 76: I changed this: $image.mapster({ ... toolTipClose: 'area-click' /* Added, so that the tooltip doesn't close before being able to click on the link */ onClick:... /* removed, so that a click/tap on a face doesn't redirect to a page */

What is not working:
- Areas and tooltip are not longer synchronized (area disappears but tooltip remains)
- Link even on people without id
- Maybe others things...

webtrees 2
nginx, PHP 7, MariaDB, HTTP/2
genealorand.com

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

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

I agree with you but to have this question it take a long time to see the question


I try to an other system and it's normal, i do check what append on my first system.

Thanks

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

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

Sodan wrote: I tried a few things to get a link inside the tooltip.
The result is not great (there's room to improve!), but I managed to get a link, and was able to click on it on my tablet.

It's very strange default behaviour. But looks like I found way for it's fine working on touches and clicks. Please test latest master.

fa10175 wrote: I try to an other system and it's normal, i do check what append on my first system.

Try remove all lines that contains 'blind' in _js/module.js?

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

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

Try remove all lines that contains 'blind' in _js/module.js?


If i do that on my first system the display is immediate.

Why this could slowest the first system and not the other?

Thanks

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

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

fa10175 wrote:

Try remove all lines that contains 'blind' in _js/module.js?


If i do that on my first system the display is immediate.

Why this could slowest the first system and not the other?

Thanks

Looks like it's jQuery UI dialog issues. It can be various version per theme. I removed this in master version.

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

Powered by Kunena Forum