Display Only Non-Event Default Photos

From TNG_Wiki
Jump to navigation Jump to search
Ambox notice.png This mod is redundant from TNG v10.1 where, by default, incoming media references marked as "_PRIM" will only be set as the associated person's "Default" photo if the reference is attached directly to the person and not to an event.
TNG 10.1.0


Display only non-event default photos
Summary Display default photos for persons only if the default photo is not an event photo
Validation Validation is unaffected from original TNG scripts
Mod Updated {{{mod_last_update}}}
Download link Default_small_photo_display_v8.1.0.zip for
TNG 10.0
TNG 9.0
TNG 8.1.3
Download stats {{{download_stats}}}
Author(s) Roger Navarre
Homepage Display Only Non-Event Default Photos (This page)
Mod Support
Contact Developer Roger's Contact Form
Latest Mod V8.1.0
Min TNG V 8.1.0 using Mod Manager config file
Max TNG V 10.0.2
Files modified
globallib.php
pedbox.php
Related Mods
None
Notes
None


Purpose of Mod

Beginning with Version 8, TNG recognizes the "_PRIM" tag, which indicates that a photo should be that person's primary (or default) photo. If that tag is present in the media link definition in your gedcom, then that photo will be set as the person's default. A problem arises, however, when a gedcom contains multiple photos for an individual which contain the "_PRIM" tag. This can happen, for example, when using the Legacy genealogy program which uses the "_PRIM" tag to indicate the default photo to use for every event that has a photo associated with it. As a result, TNG often uses an event default photo as the person's default photo. This mod corrects this by insuring that TNG does not select a default photo if that photo is associated with an event.

Mod Developer

The Mod Developer is Roger Navarre.

Manual Installation

No manual installation instructions are provided.

Automated Installation

  1. Download the appropriate file for your TNG version from the download links in the mod summary area in the upper right.
  2. Extract the downloaded zip file to your 'mods folder.
  3. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the appropriate default_small_photo_display.cfg file.

Pre-install Edits

No pre-installation edits are required.

TNG User sites using this mod

Please add TNG site that you have found that utilize this modification

URL User Note Mod-Version TNG-Version User-language
Turner mob Margaret Turner Public site V8.1.0 TNG V9.2.1 EN
Our Family History Jean Pichette Public site V8.1.0 TNG V11.0.1 EN, FR

Related Links

Display Only Non-Event Default Photos

Media - Default Images

Default Photo Path Mod