Default Photo Path Mod
|Downloads of Default Photo Path 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|
| This mod should only be used to move default photos created using treeID.personID.jpg from your photos directory to either a subdirectory or a new directory.
Before installing this mod, take a look at Media_-_Default_Images on the ways to create default photos.
|Default Photo Path|
|Summary||Adds a new path for the default photo of a person or family .|
|Validation||Mod is XHTML compliant.|
|Mod Updated||8 Jan 2015|
Dutch language file
French language file
Spanish language file
|Download stats||View download statistics|
for Default Photo Path mod
for Language files
|Homepage||Default Photo Path Mod (This page)|
|Mod Support||TNG Coummnity Forums|
|Contact Developer||Ken Roy|
|Latest Mod||22.214.171.124 for TNG V9.2.1 and up|
126.96.36.199. for TNG V9
8.1.0 for TNG V8
1.2 for TNG V7
|Min TNG V||7.0.0|
|Max TNG V||12+|
Note that if you don't set the new Default Photo Path TNG will continue to get your default photo from the photos directory
This modification adds a new Default Photo Path in the TNG config.php file for the default photo of
- a person you created with image file name treeID.personID.jpg
- a family you created with image file name treeID.familyID.jpg
- a source you created with image file name treeID.sourceID.jpg.
The new default photo path can be a new folder or a subfolder to the photos folder. Be sure you name your pictures like this: treeID.personID.jpg (example: tree1.I23.jpg where the I in the name must be a capital I).
If you do not specify the new Default Photo Path, TNG will continue to behave as before and get the default images from the photos directory.
This mod was developed by Ken Roy.
This mod provides the following advantages:
- allows moving the default photos to a user specified default photo folder for photos that you create with image file names of the form
- treeID.personID.jpg for persons
- treeID.familyID.jpg for families
- treeID.sourceID.jpg for sources
- allows you to specify the default photo path as either:
- a new directory, such as default, or
- a subdirectory such as photos/default
- allows the relief required when approaching the limit on the number of files in one directory that FTP can see or manage
- allows you to keep only photos that are part of photos media collection in the photos folder.
Note that if you don't set the new Default Photo Path TNG will continue to get your default photo from the photos directory.
|v188.8.131.52||8 January 2015||No code changes. Updated to add Wiki icon line in Mod List for TNG 10.1 generated by %wikipage:Default_Photo_Path_Mod%|
|v184.108.40.206||14 May 2013||Update for TNG 9.2.1 to fix Bad Target in pedbox.|
|v220.127.116.11||23 March 2012||Minor bugfix: the Make Folder button's success/failed message will now appear on the Default Photo Path line instead of on the Photo Folder line.|
|v18.104.22.168||23 March 2012||Language Mods added for Dutch, French and Spanish. Only tested for TNG v9 (or higher), but they might work for v8.1.0 and maybe even for v1.2!|
|v22.214.171.124||2 February 2012||updated for TNG V9|
|v8.1.0||24 May 2010||updated for TNG V8|
|v1.2||19 Jan 2010||minor bug fix so that its Make Folder button in Setup Paths and Folders reports messages on the Default Photo Path line and not the Photo Folder line|
|v1.1||17 Jun 2009||updates for pedjson.php so default photos show on Pedigree charts|
|v1.0||15 Jun 2009||initial release|
- a working TNG installation (the automated installation release was initially tested on TNG Version 7.1.0 and has been retested for Version 7.1.2)
- an installed current version of the Mod Manager
- a backup of the TNG Modules Involved
- Download the appropriate distribution for your TNG version from the download links in the status area in the upper right.
- Extract the default_photo_path.zip to your admin/mod_folder (V7) or mods (v8 and above).
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the default_photo_path.cfg.
Those who use other languages in addition to English can find appropriate mods to add Dutch, French or Spanish custom text additions in the summary in the upper right corner of this page. Follow the same procedure as explained above to install them.
If you want to add another language please send me the translation (either the texts or as a full language mod) and your name (so I can give you credit) by sending me a personal message using the Contact Developer link in the TNG Mod Summary in the upper right hand corner.
TNG user 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||I use this TNG mod to move all my Default Photos out of the photos folder.||126.96.36.199||12.0.0||EN, FR|
|Mitchell Families Online||Roger Mitchell||Makes default images much easier to manage.||188.8.131.52||10.0.2||EN|
|The Clist Connections||Lochneil||8.1.0||8.1.3||EN|
|Grogan mob||Margaret Turner||Public site||184.108.40.206||TNG V9.2.1||EN|
|Turner mob||Margaret Turner||Public site||220.127.116.11||TNG V9.2.1||EN|
|British 1820 Settlers to South Africa||Paul Tanner-Tremaine||Public site||18.104.22.168||TNG V10.1.1||EN|
|Farnham & Paradise Ohana||Barbara Paradise||login: tngguest, pwd: tngguest||22.214.171.124||TNG V9.2.2||EN|
|Roni & Jerry's Genealogy and Family History||Jerry Liebowitz||Public site||126.96.36.199||TNG v10.0.2||EN|
|Wortelboer Genealogy||Bernard Wortelboer||Public site||188.8.131.52||11.0.0||NL/EN|
|R G Strong Family Genealogy||Russell Strong||Public Site||184.108.40.206||11.0.0||EN, FR, DE, NL|
|Roebuck and Families Ancestry Website||Donald Roebuck||Public site||220.127.116.11||11.0.2||EN|
|Avery Genealogy||Jim Kratoville||18.104.22.168||11.0.2||EN|
Default Photo Path Mod
TNG Modules Involved
|TNG version:||≥ 8.0|
In TNG V8 and above, the following modules are updated:
In TNG V7, the following modules are updated: