Randomphoto for Templates mod

From TNG_Wiki
Jump to: navigation, search
Randomphoto for Templates mod
Summary Replaces the fixed image with a random image on Home Page of those templates that do not have this functionality by default.
Validation The mod is XHTML compliant.Valid-xhtml10.png
Mod Updated {{{mod_last_update}}}
Download link Randomphoto_for_template4_v11.1.0.2.zip
TNG 11.1


TNG 11.0
TNG 10.0
Download stats See download statistics
Author(s) Graham Chamberlain
Homepage Chamberlain and Eidenbenz Genealogy
Mod Support My Mod Support
Contact Developer My Mod Support
Latest Mod for TNG V10 V11 for Template4 v11.1+
Min TNG V ** 8.0.0 using integrated Mod Manager
TNG 7.1.0 requires manual installation of Mod Manager
Max TNG V 11+
Files modified
Related Mods
** the mod for templates 4,7,9 and 10 should work pre-v10


This mod was developed to enable display of a random image to replace the default fixed image on the home page of those templates that by default display only a single fixed image (templates 4, 9, 10, 11, 13 and 14). A separate mod cfg file is provided for each relevant template. The zip file contains two cfg file versions for template 4 as there were changes to the template4/index.php in TNG v10.0.1.

NOTE that template 7, by default, displays both a static and a random photo.


Graham Chamberlain developed this mod.


  • A working TNG installation.
  • An installed current version of the Mod Manager

Automated Installation

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

Custom Text Additions

It is recommended that you also consider installing the Random Photo Display mod, including the enhancements detailed in the Custom Text Additions section of that mod.

In the event of a problem with your TNG site

  1. Try using the Mod Manager Remove capability
  2. Or copy your randomphoto.php file to your TNG directory
  3. * all should be well now

Revision History

Version Date Contents
v11.1.0.2 Template4 only 16 January 2017 Mod for template 4, v11.1 only added. Other template mods unchanged
v10.0.1.3 25 January 2016 Mod for template 11 added. Other template mods unchanged
v10.0.1.2 27 June 2014 Mod for template 13 added. Other template mods unchanged
v10.0.1.1 9 March 2014 Mod for template 4 updated to be compatible with TNG v10.0.1. Other template mods unchanged
v10.0.0.0 26 February 2014

TNG User sites using this mod

If you download and install this mod, please add your TNG sites to the table below

URL User Note Mod-Version TNG-Version User-language
Chamberlain & Eidenbenz Genealogy Graham Chamberlain Mod developer V10.0.1.3 11.1beta EN, FR, DE, ES, NL
... ... ... ... ... ...