Web based family history software

Question How to mark individuals on group photo ?

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

fisharebest wrote: >
You might be able to get more information by changing this line

Code:
Log::addConfigurationLog("Module {$module_name} is missing or broken - disabling it - " . $ex->getMessage());


What about adding this in the default code ? I mean, just having the info that the module was disabled is in most cases insufficient, and the logfile is only accessible to site admin, so no risk of leaking information here

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

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

jhf2442 wrote: @UksusoFF : at the end of the JS you replace the title with the (clickable) list of individuals
Maybe keep the title and add the list below it ?

I not actually use photo title in my tree. Most of titles has names like IMGxxxx.jpg and same.
If append text and many persons on photo it will overlap many place over photo... I will think how make it better.

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

  • fa10175
  • Away
  • Senior Member
  • Senior Member
More
7 years 10 months ago #83 by fa10175
Replied by fa10175 on topic How to mark individuals on group photo ?
I just tested the module "photo_note_with_image_map".
That's great.
With this module one can easily put names on the photos of groups and no longer forget who was who.
This very easily adds a note to the photo in information the coordinates of the person on the photo and the person (one can even put a link on it)

It would be nice if this module appears in the list of "Extensions webtrees" with explanations how it works.
In webtrees demo, it might be used.
It's a big plus for me.
Another thank you to UksusoFF

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

More
7 years 10 months ago #84 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
Let me confirm the last compliment, this is something I searched for a long moment. Hope it will stay compatible with all following versions of webtrees.

I wrote a short description how to use it in my small FAQ in german and french. Have a look if you need an exemple wt.rauhut.eu wt.rauhut.eu

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 10 months ago #85 by fa10175
Replied by fa10175 on topic How to mark individuals on group photo ?
I also hope that it will remain compatible in the next version of webtrees (works fine in webtrees 1.79).
Thanks to you for help how to put it in order.
Just one point to be counted or more exatement to report;
We can make a link with the person if we click on it by entering href

Thanks

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

More
7 years 10 months ago #86 by UksusoFF
Replied by UksusoFF on topic How to mark individuals on group photo ?
@fa10175
@Andreas
Thank you for good reviews.
Module potentially dependency only on ColorBox and theme. Not much on wetrees version. Most of works is just frontend lib ImageMapster.
Now i try add realtime edit image map with selection and have some troubles with image inside ColorBox.

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 #87 by thomas52
Replied by thomas52 on topic How to mark individuals on group photo ?
I surmise this is in beta stage, however, a number of folks seem to have it working well. Is there a "dummy" version with instructions we might try?

"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 #88 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
Perhaps you even don't need a dummy.

Simply download the ZIP from github , unzip it and put the entire content in your ../modules_v3/ directory.
Go to the admin panel of your webtrees system, open the modul administration tab and activate the Photo Note With Image Map.

Then have a look at a small image map in the note of a media entry in my webtrees installation.

Choose a picture with some persons on it of one of your medias and create the code between the lines <map name="map"> and </map> with a tool like Gimp , Mapedit or one of multiple Online Tools .


finally enjoy! (même sans échec)

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 #89 by thomas52
Replied by thomas52 on topic How to mark individuals on group photo ?
I installed & activated the module, and made a map. No joy. Going back to the Control Panel, I see the module is de-activated, and keeps doing so. What am I doing wong?

"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 #90 by fisharebest
Replied by fisharebest on topic How to mark individuals on group photo ?
A fatal error occured.

With PHP 7, there will probably be a message in your webtrees error log.
With PHP5, there may be an error in your webserver error log.

A common cause is having the wrong folder name inside modules_v3. It must be exactly the same as the module's internal name.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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 - 7 years 9 months ago #91 by thomas52
Replied by thomas52 on topic How to mark individuals on group photo ?
Bingo! "...-1.0" doesn't work, module name must be changed. Also, the pid's must be "I001" format, not "001I." Sweet.
btw, the names will not appear properly using the "JustBlack" theme. One further note: the map code must be the FIRST note, and a second text note can be added.

"Failure is an amazing teacher." (L'échec est un professeur extraordinaire.)
Last edit: 7 years 9 months ago by thomas52.

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

More
7 years 9 months ago - 7 years 9 months ago #92 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
..... as explained in the readme. Because I made the same mistake, as you should have read above.

Code:
Installation 1. ... ... 4. Rename the folder to photo_note_with_image_map.

Also, the pid's must be "I001" format, not "001I." Sweet.

Is this the case? I suppose that the PID must be written as they are used in your webtrees gedcom.

And by the way, better sweet than sour :-))

Yes, it is mentioned in the description that the code must be placed in the first note.

That's something I would like to ask UksusoFF or fisharebest.
Shouldn't it be possible to hide this kind of code otherwhere as in a note.
Notes are visible to visitors. Perhaps there is another sort of entry to put the map, so that the module can read it.......

(on dirait que vous aimez votre professeur !)

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

Now i try add realtime edit image map with selection and have some troubles with image inside ColorBox.

Great.. I love to see this as it would ease very much the map generation.

In general I am happy having your plugin even in current status! Great feature which avoids lot of description texts to assign names to faces.

Best regards /Markus
webtrees 2.1.x + several addons

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

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

thomas52 wrote: btw, the names will not appear properly using the "JustBlack" theme. One further note: the map code must be the FIRST note, and a second text note can be added.

Fixed in 1.1 version.

Andreas wrote: That's something I would like to ask UksusoFF or fisharebest.
Shouldn't it be possible to hide this kind of code otherwhere as in a note.
Notes are visible to visitors. Perhaps there is another sort of entry to put the map, so that the module can read it.......

(on dirait que vous aimez votre professeur !)

In next versions probably image map will be stored in something other place.

In current version you can hide note by this trick:
Code:
$('.note-details:contains("<map")').prev('.fact_NOTE').hide();
Tested on JustLight, JustBlack and webtrees themes.

You can add this code with: www.webtrees.net/index.php/en/add-ons/do...om-javascript-module
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 - 7 years 9 months ago #95 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?

UksusoFF wrote: In next versions probably image map will be stored in something other place.

Very fine.

UksusoFF wrote: In current version you can hide note by this trick:

Code:
$('.note-details:contains("<map")').prev('.fact_NOTE').hide();
Tested on JustLight, JustBlack and webtrees themes.

You can add this code with: www.webtrees.net/index.php/en/add-ons/do...om-javascript-module


Where have I to put the line of code ?
The proposed add-on custom_js isn't working with my webtrees installation. I installed and deinstalled it after seeing module administration as a white page only.

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

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

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

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

Andreas wrote: Where have I to put the line of code ?
The proposed add-on custom_js isn't working with my webtrees installation. I installed and deinstalled it after seeing module administration as a white page only.

As described by thomas52.

Or you can add to bottom of any custom js like theme or module.
For example: photo_note_with_image_map/_js/jquery.imagemapster.init.js

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

More
7 years 9 months ago - 7 years 9 months ago #98 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
Thank you thomas52,

This is a fine screenshot but I can't see it in my webtrees installation (webtrees 1.7.9 , PHP Version 7.0.6). The module custom_js is not working. I get only a white screen.
Thank you UksusoFF,
I did as you mentioned and placed the line
Code:
$('.note-details:contains("<map")').prev('.fact_NOTE').hide();
to the bottom of the file jquery.imagemapster.init.js

But the notes in the media entry are still shown.


Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18
Attachments:
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 #99 by Andreas
Replied by Andreas on topic How to mark individuals on group photo ?
custom_js seems to be not compatible with webtree since 1.7.7
look in this thread
Who can kick it out from the add-on page or mention it as not working with 1.7.9 ?

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 #100 by markus
Replied by markus on topic How to mark individuals on group photo ?
custom_js works without problems in my wt 1.7.9.

Adding the hide-map-notes-line does indeed hides these notes...at least in my instalation.

Best regards /Markus
webtrees 2.1.x + several addons

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

Powered by Kunena Forum