Image Map Message Mod
|Downloads of Image Map Message Mod are restricted to logged in users. If you do not have a user account on the TNG Wiki use the Request Account link to request a user account|
|Image Map Message Mod|
|Summary||Changes the message for image maps that are not for photos|
|Validation||Latest mod is XHTML compliant.|
|Mod Updated||23 Sep 2020|
supports renaming extensions folder
[Show older versions]
|Download stats||View download statistics|
for Image Map Msg mod
for Media mods group
|Homepage||Image Map Message Mod (This page)|
|Mod Support||TNG Community Forums|
|Contact Developer||Ken Roy|
|Latest Mod||220.127.116.11 for TNG V11.0.2 and above|
10.1.0.2 for TNG V10.1 and above
18.104.22.168 for TNG V9 and above
8.1.2 for TNG V8.1.2
8.1.1 for TNG V8
1.0 for TNG V7
|Min TNG V||7.0.0|
|Max TNG V||12+|
Purpose of the mod
This mod was designed to display a different message for image maps that are not photos.
This mod applies to TNG 7.0 and above.
Ken Roy developed this mod.
This mod displays a different message if the image map is not for a photo, since clicking on the image may not display a person page.
- Download the appropriate distribution for your TNG version from the download links in the status area in the upper right.
- Extract the media-5_image_map_msg.zip to your admin/mod_folder (V7) or mods (v8).
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the media-5_image_map_msg.cfg.
- Edit the mediatypes selected to display alternate message if the media record contains an image map
Note that the media-5_image_map_message_v1.0.cfg file is part of a series of media display mods where the n in media-n designates the install order of the mods. If you use any of the other mods, they must be installed before this mod.
Note that config file only includes the English language changes, so if you support multiple languages you will need to modify the config file to add the custom text for those other languages.
You will need to make adjustments to the the $mediatypeID for the media collections where you are using image maps which are not photos where you create a link to the person.
|V22.214.171.124||18 September 2016||Updated to use $extspath variable for the extensions folder target to allow users to rename the extensions folder|
|V10.1.0.2||21 August 2016||Updated to use $extspath variable for the extensions folder include|
|V10.1.0.1||12 January 2015||Updated for TNG V10.1 to remove the location / replace for the Edit Parameters which is no longer needed|
|V126.96.36.199||2 February 2012||Updated for TNG V9.|
|V8.1.2||27 April 2011||Updated for TNG V8.1.2|
|V8.1.1||24 May 2010||Updated for TNG V8|
|V1.0||14 March 2019||Initial release of config file|
The following variable should be added to your English/cust_text.php
$text['mediamytext'] = "<strong>Note:</strong> Move your mouse pointer over the image to show additional information.";
The following variable should be added to your French/cust_text.php
$text['mediamytext'] = "<strong>Notez:</strong> Déplacez votre pointeur de souris au-dessus de l'image pour exposer d'autres informations.";
Edit Mediatypes Used
V8.1.1 now allows editing the mediatypes that will display an alternate message when an Image Map is present for the image. The default mediatypes provided by the mod are:
You can used the Mod Manager Edit capability to change the mediatype. You can blank out or erase the any of the mediatypes to eliminate it being part of the check for the alternate image map message when the media record in that collection contains an image map.
Visualization of this mod
Without this mod, the following message is displayed when the media record contains an image map as shown in the image on the right. This message is appropriate for group photos that contain an image map where the area links to a person in your genealogy database.
It may not be appropriate for image maps related to census, military service ribbons, or historical maps, where the Tooltip Mod allows displaying different information.
With Mod Installed
With the Image Map Message mod installed, an alternate image map message is displayed as shown for the historical map image on the right.
You can see the different message displayed for the image map on my Uncle Bern's Military Ribbons media record, which displays the messages as "Move your mouse pointer over the image to show additional information".
This mod was designed to work with the
The following Media mods may be related. The number indicates the install order if you install more than one of these mods:
- Media - 1 - Image Viewer Mod
- Media - 2 - ShowTable Mod
- Media - 3 - Body Text for Translation
- Media - 4 - Tooltip Mod
- Media - 5 - Image Map Message Mod
TNG Modules Involved
In TNG V8, the following modules are updated:
and the following modules is added:
In TNG V7, the following modules are updated:
and the following modules is added:
Sites using this mod
If you download and install this mod, please add your TNG site to the table below:
|Our Roy and Boucher Family||Ken Roy||Mod Developer||188.8.131.52||12.0.0||EN, FR|
|R G Strong Family Genealogy||Russell Strong||Public Site||184.108.40.206||12.2.0||EN, FR, DE, NL|
|OurLife Family History - McMullen Clan||Sean Thompson||Not a public site||220.127.116.11||11.1.0||English|
|Stamboom Jongman||Roel Jongman||Public/Private site||10.1.0.2||10.1.3||NL, DE, EN|