Media Image Map Message
Downloads of Media Image Map Message 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 | ||
If you have trouble downloading with Google Chrome, Vivaldi, Brave or other Chromium based browser, try using a right-click and select Open in new Window, then F5, or use another browser such as Firefox
|
Media Image Map Message | ||||||
---|---|---|---|---|---|---|
Summary | Changes the message for image maps that are not for photos | |||||
Validation | Latest mod is XHTML compliant. | |||||
Mod Updated | 8 Oct 2020 | |||||
Download link | For
media_image_map_msg_v13.0.0.4.zip For
media-5_image_map_msg_v11.0.2.3.zip supports renaming extensions folder [Show older versions] For
[Hide old versions]
| |||||
Download stats | View download statistics for Media Image Map Message for Media mods group | |||||
Author(s) | Ken Roy | |||||
Homepage | Media Image Map Message (This page) | |||||
Mod Support | TNG Community Forums | |||||
Contact Developer | TNG Community Forums | |||||
Latest Mod | 13.0.0.4 for TNG 13+ 11.0.2.3 for TNG V11.0.2 and above 10.1.0.2 for TNG V10.1 and above 9.0.0.0 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 | 13+ | |||||
Files modified | ||||||
Related Mods | ||||||
Notes |
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.
Developer
Ken Roy developed this mod.
Advantages
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.
Requirements
- Backups of the TNG Modules Involved
- An installed current version of the Mod Manager.
Automated Install
- 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.
Revision History
Version | Date | Contents |
---|---|---|
V13.0.0.4 | 8 October 2020 | Updated
|
V11.0.2.3 | 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 |
V9.0.0.0 | 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 |
Custom Text
English language
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.";
French language
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 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".
Related Mods
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:
- showmedialib.php
- languages/English/cust_text.php
- languages/English-UTF8/cust_text.php
and the following modules is added:
- extensions/imagemapmsg.php
In TNG V7, the following modules are updated:
- showmedialib.php
- English/cust_text.php
and the following modules is added:
- extensions/imagemapmsg.php
Sites using this mod
If you download and install this mod, please add your TNG site to the table below:
URL | User | Note | Mod-Version | TNG-Version | User-language | |
---|---|---|---|---|---|---|
Our Roy and Boucher Family | Ken Roy | Mod Developer | 13.0.0.4 |
|
EN, FR | |
R G Strong Family Genealogy | Russell Strong | Public Site | 13.0.0.4 | 14.0.4 | EN, FR, DE, NL | |
OurLife Family History - McMullen Clan | Sean Thompson | Not a public site | 11.0.2.3 | 11.1.0 | English | |
Stamboom Jongman | Roel Jongman | Public/Private site | 10.1.0.2 | 10.1.3 | NL, DE, EN |