- Posts: 19
Question How to mark individuals on group photo ?
- jhf2442
- Topic Author
- Offline
- New Member
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.
- UksusoFF
- Offline
- Junior Member
I not actually use photo title in my tree. Most of titles has names like IMGxxxx.jpg and same.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 ?
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
- Posts: 453
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.
- Andreas
- Offline
- Premium Member
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
- Posts: 453
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.
- UksusoFF
- Offline
- Junior Member
@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
- Western North Carolina
"Failure is an amazing teacher." (L'échec est un professeur extraordinaire.)
Please Log in or Create an account to join the conversation.
- Andreas
- Offline
- Premium Member
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
Please Log in or Create an account to join the conversation.
- thomas52
- Offline
- Premium Member
- Western North Carolina
"Failure is an amazing teacher." (L'échec est un professeur extraordinaire.)
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
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
- Western North Carolina
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.)
Please Log in or Create an account to join the conversation.
- Andreas
- Offline
- Premium Member
Is this the case? I suppose that the PID must be written as they are used in your webtrees gedcom.Also, the pid's must be "I001" format, not "001I." Sweet.
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
Please Log in or Create an account to join the conversation.
- markus
- Offline
- Junior Member
Great.. I love to see this as it would ease very much the map generation.Now i try add realtime edit image map with selection and have some troubles with image inside ColorBox.
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.
- UksusoFF
- Offline
- Junior Member
Fixed in 1.1 version.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.
In next versions probably image map will be stored in something other place.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 current version you can hide note by this trick:
You can add this code with: www.webtrees.net/index.php/en/add-ons/do...om-javascript-module
Please Log in or Create an account to join the conversation.
- Andreas
- Offline
- Premium Member
Very fine.UksusoFF wrote: In next versions probably image map will be stored in something other place.
UksusoFF wrote: In current version you can hide note by this trick:
Tested on JustLight, JustBlack and webtrees themes.Code:$('.note-details:contains("<map")').prev('.fact_NOTE').hide();
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
Please Log in or Create an account to join the conversation.
- thomas52
- Offline
- Premium Member
- Western North Carolina
"Failure is an amazing teacher." (L'échec est un professeur extraordinaire.)
Please Log in or Create an account to join the conversation.
- UksusoFF
- Offline
- Junior Member
As described by thomas52.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.
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.
- Andreas
- Offline
- Premium Member
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
But the notes in the media entry are still shown.
Both MAUPILLÉ & RAUHUT families are using webtrees V2.1.18
Please Log in or Create an account to join the conversation.
- Andreas
- Offline
- Premium Member
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.
- markus
- Offline
- Junior Member
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.