Web based family history software

Question How to mark individuals on group photo ?

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

Andreas wrote: when typing output.jsbin.com/suvezu
I see

Code:
Touch screen detected.

But I confirm I don't have touch screen.

That's answer. I disabled edit functions for mobile. Because selections on touch devices very ugly.
I will search proper detection.

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

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

UksusoFF wrote: I will search proper detection.


Would be better :-))) Good luck. I can't help you in this task.

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

Andreas wrote: Would be better :-))) Good luck. I can't help you in this task.

Please check latest version.

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

  • thomas52
  • Offline
  • Premium Member
  • Premium Member
  • Western North Carolina
More
7 years 9 months ago #184 by thomas52
Replied by thomas52 on topic How to mark individuals on group photo ?
I don't know which is the latest version, but v.2.1.1 is outstanding! Well done, Kirill!

"Failure is an amazing teacher." (L'échec est un professeur extraordinaire.)

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

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

Andreas wrote: I tried with the newest version 2.1.1

And what the hell, now I've also difficulties with this media .
No note at all in the media, anymore. I took them away. And there is no (+) above the image and no mapped areas.

Before I tried with V2.0 which I downloaded from here , to migrate the following map with (save):

Code:
<map name="map"> <area data-pid="01" shape="rect" coords="46,89,157,441" href="#" /> <area data-pid="I6192" shape="rect" coords="160,114,245,485" href="#" /> <area data-pid="03" shape="rect" coords="252,156,325,471" href="#" /> <area data-pid="04" shape="rect" coords="329,144,394,402" href="#" /> <area data-pid="I10238" shape="rect" coords="406,158,468,472" href="#" /> <area data-pid="06" shape="rect" coords="471,134,500,250" href="#" /> <area data-pid="07" shape="rect" coords="487,189,536,452" href="#" /> <area data-pid="08" shape="rect" coords="554,141,603,290" href="#" /> <area data-pid="I6525" shape="rect" coords="603,130,660,299" href="#" /> <area data-pid="10" shape="rect" coords="601,303,704,589" href="#" /> <area data-pid="11" shape="rect" coords="658,172,696,302" href="#" /> <area data-pid="12" shape="rect" coords="729,167,839,522" href="#" /> <area data-pid="13" shape="rect" coords="849,100,913,525" href="#" /> <area data-pid="14" shape="rect" coords="532,170,556,377" href="#" /> </map>
I deleted cache and I don't understand.

I was away from my PC for a while. But I see that version 2.1.2 is working fine again.

But not with this media above.

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.

  • thomas52
  • Offline
  • Premium Member
  • Premium Member
  • Western North Carolina
More
7 years 9 months ago #186 by thomas52
Replied by thomas52 on topic How to mark individuals on group photo ?
I'm suspecting something to do with clearing the cache.

"Failure is an amazing teacher." (L'échec est un professeur extraordinaire.)

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

More
7 years 9 months ago - 7 years 9 months ago #187 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
But I thought about cache and cleared it for to be save.

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

Andreas wrote: But I thought about cache and cleared it for to be save.

Can you give me width and height of this media?
I test map on bigger image, all work except 10, 11, 12, 13, 14 pids.

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

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

UksusoFF wrote:

Andreas wrote: But I thought about cache and cleared it for to be save.

Can you give me width and height of this media?
I test map on bigger image, all work except 10, 11, 12, 13, 14 pids.

Sorry, I didn't mind that you can't see the image because of the linked person is still alive.

Size 914 × 625 Pixel

Please find the file of media M8670 attached.


And for testing I will "kill" Jacques temporarely. So you will access the media entry .

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

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

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

Andreas wrote: Sorry, I didn't mind that you can't see the image because of the linked person is still alive.

Size 914 × 625 Pixel

Please find the file of media M8670 attached.

And for testing I will "kill" Jacques temporarely. So you will access the media entry .

Yep, I see error, but can't reproduce for me.

Please open module.php in text editor. Add this line:
Code:
Log::addDebugLog($this->getTitle() . ': '. json_encode($result));

after this:
Code:
private function presentMediaMapForTree(Media $media, Tree $tree) { $result = []; foreach ($this->getMediaMap($media) as $area) { $result[$area['pid']] = [ 'found' => false, 'pid' => $area['pid'], 'name' => $area['pid'], 'life' => '', 'coords' => $area['coords'], ]; }
Go to this photo and then post result from admin_site_logs.php

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

More
7 years 9 months ago #191 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
Code:
Zeitstempel Typ Nachricht IP-Adresse Benutzer Stammbaum 2017-02-21 14:29:26 error /home/rauhut/wt/modules_v3/photo_note_with_image_map/module.php:96 Class 'UksusoFF\webtreesModules\PhotoNoteWithImageMap\Log' not found #0 /modules_v3/photo_note_with_image_map/module.php:177 Error("Class 'UksusoFF\webtreesModules\PhotoNoteWithImageMap\Log' not found") #1 /module.php:26 modAction('map_get') 95.222.31.110 Andreas GAC.ged 2017-02-21 14:29:08 auth Login: Andreas/Andreas RAUHUT 95.222.31.110 Andreas GAC.ged

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 #192 by UksusoFF
Replied by UksusoFF on topic How to mark individuals on group photo ?
Ouch, please add
Code:
use Fisharebest\webtrees\Log;
after
Code:
namespace UksusoFF\webtreesModules\PhotoNoteWithImageMap;
And try again.

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

More
7 years 9 months ago - 7 years 9 months ago #193 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
Code:
Timestamp Type Message IP address User Family tree 2017-02-21 18:00:04 error /home/rauhut/wt/includes/session.php:193 /home/rauhut/wt/modules_v3/photo_note_with_image_map/module.php:102 Undefined index: 11I #0 /modules_v3/photo_note_with_image_map/module.php:102 ErrorException("/home/rauhut/wt/modules_v3/photo_note_with_image_map/module.php:102 Undefined index: 11I") #1 /modules_v3/photo_note_with_image_map/module.php:178 presentMediaMapForTree([Media M8670@36], [Tree]) #2 /module.php:26 modAction('map_get') 95.222.31.110 Andreas GAC.ged 2017-02-21 18:00:04 debug Photo Note With Image Map: {"10":{"found":false,"pid":"10","name":"10","life":"","coords":["601","303","704","589"]},"11":{"found":false,"pid":"11","name":"11","life":"","coords":["658","172","696","302"]},"12":{"found":false,"pid":"12","name":"12","life":"","coords":["729","167","839","522"]},"13":{"found":false,"pid":"13","name":"13","life":"","coords":["849","100","913","525"]},"14":{"found":false,"pid":"14","name":"14","life":"","coords":["532","170","556","377"]},"01":{"found":false,"pid":"01","name":"01","life":"","coords":["46","89","157","441"]},"I6192":{"found":false,"pid":"I6192","name":"I6192","life":"","coords":["160","114","245","485"]},"03":{"found":false,"pid":"03","name":"03","life":"","coords":["252","156","325","471"]},"04":{"found":false,"pid":"04","name":"04","life":"","coords":["329","144","394","402"]},"I10238":{"found":false,"pid":"I10238","name":"I10238","life":"","coords":["406","158","468","472"]},"06":{"found":false,"pid":"06","name":"06","life":"","coords":["471","134","500","250"]},"07":{"found":false,"pid":"07","name":"07","life":"","coords":["487","189","536","452"]},"08":{"found":false,"pid":"08","name":"08","life":"","coords":["554","141","603","290"]},"I6525":{"found":false,"pid":"I6525","name":"I6525","life":"","coords":["603","130","660","299"]}} 95.222.31.110 Andreas GAC.ged 2017-02-21 17:59:27 auth Login: Andreas/Andreas RAUHUT 95.222.31.110 Andreas GAC.ged 2017-02-21 17:59:06 error /home/rauhut/wt/includes/session.php:193 /home/rauhut/wt/modules_v3/photo_note_with_image_map/module.php:102 Undefined index: 11I #0 /modules_v3/photo_note_with_image_map/module.php:102 ErrorException("/home/rauhut/wt/modules_v3/photo_note_with_image_map/module.php:102 Undefined index: 11I") #1 /modules_v3/photo_note_with_image_map/module.php:178 presentMediaMapForTree([Media M8670@36], [Tree]) #2 /module.php:26 modAction('map_get') 95.222.31.110 <none> GAC.ged 2017-02-21 17:59:06 debug Photo Note With Image Map: {"10":{"found":false,"pid":"10","name":"10","life":"","coords":["601","303","704","589"]},"11":{"found":false,"pid":"11","name":"11","life":"","coords":["658","172","696","302"]},"12":{"found":false,"pid":"12","name":"12","life":"","coords":["729","167","839","522"]},"13":{"found":false,"pid":"13","name":"13","life":"","coords":["849","100","913","525"]},"14":{"found":false,"pid":"14","name":"14","life":"","coords":["532","170","556","377"]},"01":{"found":false,"pid":"01","name":"01","life":"","coords":["46","89","157","441"]},"I6192":{"found":false,"pid":"I6192","name":"I6192","life":"","coords":["160","114","245","485"]},"03":{"found":false,"pid":"03","name":"03","life":"","coords":["252","156","325","471"]},"04":{"found":false,"pid":"04","name":"04","life":"","coords":["329","144","394","402"]},"I10238":{"found":false,"pid":"I10238","name":"I10238","life":"","coords":["406","158","468","472"]},"06":{"found":false,"pid":"06","name":"06","life":"","coords":["471","134","500","250"]},"07":{"found":false,"pid":"07","name":"07","life":"","coords":["487","189","536","452"]},"08":{"found":false,"pid":"08","name":"08","life":"","coords":["554","141","603","290"]},"I6525":{"found":false,"pid":"I6525","name":"I6525","life":"","coords":["603","130","660","299"]}} 95.222.31.110 <none> GAC.ged

One without and once with user logged in.

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 #194 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
Here the content of the data record PNWIM_M8670 in table wt_module_setting
Code:
[{"pid":"10","coords":["601","303","704","589"]}, {"pid":"11","coords":["658","172","696","302"]}, {"pid":"12","coords":["729","167","839","522"]}, {"pid":"13","coords":["849","100","913","525"]}, {"pid":"14","coords":["532","170","556","377"]}, {"pid":"01","coords":["46","89","157","441"]}, {"pid":"I6192","coords":["160","114","245","485"]}, {"pid":"03","coords":["252","156","325","471"]}, {"pid":"04","coords":["329","144","394","402"]}, {"pid":"I10238","coords":["406","158","468","472"]}, {"pid":"06","coords":["471","134","500","250"]}, {"pid":"07","coords":["487","189","536","452"]}, {"pid":"08","coords":["554","141","603","290"]}, {"pid":"I6525","coords":["603","130","660","299"]}]

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

Andreas wrote: Here the content of the data record PNWIM_M8670 in table wt_module_setting


Yep, thanks. I can't understand whence 11I...

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

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

Andreas wrote: Here the content of the data record PNWIM_M8670 in table wt_module_setting

Can you post here result of this SQL query:
Code:
SELECT i_id AS xref, i_gedcom AS gedcom, n_full FROM `wt_individuals` JOIN `wt_name` ON i_id = n_id AND i_file = n_file WHERE i_id IN ('10','11','12','13','14','01','I6192','03','04','I10238','06','07','08','I6525') AND i_file = 1 AND n_type='NAME' ORDER BY n_full;
?

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

More
7 years 9 months ago #197 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
no records found

SQL returned empty result

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 #198 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
quick & dirty ....
What about deleting record PNWIM_M8670 in table wt_module_setting ?

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

Andreas wrote: no records found

SQL returned empty result

Code:
SELECT i_file FROM `wt_individuals` GROUP BY i_file;
?

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

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

Andreas wrote: quick & dirty ....
What about deleting record PNWIM_M8670 in table wt_module_setting ?

I want found error ;)

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

Powered by Kunena Forum