Difference between revisions of "Random Photo Display mod"

From TNG_Wiki
Jump to: navigation, search
(TNG User sites using this mod)
(TNG User sites using this mod)
Line 92: Line 92:
| [http://www.zausmerforest.com/index.php Zausmers and More-smers]
| [http://www.zausmerforest.com/index.php Zausmers and More-smers]
| Joyaa Antares
| [[User:Joyaa|Joyaa Antares]]
| Contented user
| Contented user
| V9.0.0.0/TNG 9.1.0
| V9.0.0.0/TNG 9.1.0

Revision as of 05:17, 26 January 2013

Ambox notice.png Random Photo Display mod applies to TNG version all

Random Photo Display mod
Summary Makes changes for displaying a random image and related information on Home Page.
Validation The mod is XHTML compliant.Valid-xhtml10.png
Mod Updated {{{mod_last_update}}}
Download link random_photo_display_v9.0.0.0.zip
TNG 8.0
TNG 9.0.1
Download stats {{{download_stats}}}
Author(s) Graham Chamberlain
Homepage Random Photo Display mod (This page)
Mod Support [TNG Forums]
Contact Developer My Mod Support
Latest Mod for TNG V9,V8 and V7
Min TNG V 8.0.0 using integrated Mod Manager
TNG 7.1.0 requires manual installation of Mod Manager
Max TNG V 9.0.1
Files modified
Related Mods


This mod was developed to enable an image border and display of media description for a random image. A mouse-over on the image will display a 'tooltip' in a pop-up with the text you have entered in the 'Description' field of the 'Media Information' section of Admin/Media edit.


Graham Chamberlain developed this mod.


  • A working TNG installation.
  • An installed current version of the Mod Manager
  • A backup of your TNG randomphoto.php file.

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 random_photo_display_v9.0.0.0.zip 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 random_photo_display_v9.0.0.0.cfg.

Custom Text Additions

The mod contains reference to the style 'bordrandimage' for controlling the colour and shape of a border for the random image. On the author's (template8) website this is defined as:

  /* border colour for randomimage */
  border: 2px solid #211A16;
  border-radius: 4px;

NOTE: If you want an image border you will need to add this style to your mytngstyle.css file, and edit the border and/or border-style appropriately.

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
v9.0.0.0 27 March 2012

TNG User sites using this mod

  • Please add TNG sites that you have found that utilize this modification
URL User Note Mod-Version/TNG-Version User-language
Chamberlain & Eidenbenz Genealogy Graham Chamberlain Mod developer V9.0.0.1/9.0.1 EN, FR, DE, SP
Zausmers and More-smers Joyaa Antares Contented user V9.0.0.0/TNG 9.1.0 EN
... ... ... ... ...

Site List