Default Photo Not Set on Import

From TNG_Wiki
Jump to navigation Jump to search
Restricted Downloads of Default Photo Not Set on Import 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 Restricted
Caution If you are having trouble downloading with the Google Chrome browser, try another browser Caution

Default Photo Not Set on Import
Summary This mod prevents the default photo from being set on an import from the _PRIM Y parameter
Validation Not applicable to Admin apps
Mod Updated 19 Jan 2015
Download link for
TNG 10.1.0
TNG 9.0
Download stats View download statistics
Author(s) Ken Roy
Homepage Default Photo Not Set on Import (This page)
Mod Support TNG Community Forums
Contact Developer
Latest Mod for TNG V10.1 and above for TNG V9 and above
Min TNG V 9.0.0
Max TNG V 11+
Files modified
Related Mods
This mod applies only if you use the old style default photo and import data the would pass the _PRIM Y


This mod prevents the default photo from being set on an import from the _PRIM Y parameter. This is helpful if you are using the Alternate Way of defining the default photo using treeID.personID.jpg.

See How to stop TNG allocating imported photos as default on the TNG Community Forums


Ken Roy developed this mod for Don.


This mod prevents Default Photos from being added to the media collection when using the alternate method of providing default thumbnail photos


  • A working TNG installation.
  • A backup of your TNG gedimport_misc.php file.

Revision History

Version Date Contents
v10.1.0.1 19 January 2015 Updated for TNG 10.1 and published to the TNG Wiki
v9.0.0.0 27 September 2012 Initial version of the mod provided to Don, but never published on the TNG Wiki

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 appropriate zip file to your TNG mods folder.
  3. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files.

In the event of a problem with your TNG site

  1. Try using the Mod Manager Remove capability
  2. Or copy your backup copy of the gedimport_misc.php files to your TNG directory

Related Links

This mod is used in conjunction with the Default Photo Path Mod

See also Alternate way of creating Default Images

TNG User 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 I do not use this mod currently because I do not export media from PAF but Don indicated that it served the purpose. 11.1.0 EN, FR
Roebuck and Families Ancestry Website Donald Roebuck Public site - I use this mod, with thanks to Ken, when importing my gedcom files from Legacy 11.0.2 EN
OurLife Family History - McMullen Clan Sean Thompson 11.1.0 EN
... ... ... ... ...