Compact Person Media
|Downloads of Compact Person Media 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|
| The Compact Person Media mod installs but does not work in TNG V12. Therefore it is obsolete with TNG v12 and will not be reworked.
You should now use the TNG Media Collapse option to collapse media to one row See Collapsible Items
|Compact Person Media|
|Summary||This mod will show the media on the getPerson page in a more compact fashion.|
|Validation||The mod is XHTML compliant.|
|Mod Updated||8 Mar 2016|
if using the Mobile Site Enhancements mod compact_person_media_mobile_v10.1.0.2.zip
if using the Mobile Site Enhancements mod compact_person_media_mobile_v10.1.0.2.zip
|Download stats||V10/V11 download statistics|
See download statistics
|Author(s)||Bart 'Roebie' Degryse|
|Homepage||Compact Person Media|
|Mod Support||TNG Community Forums|
|Latest Mod||22.214.171.124 for TNG v11|
10.1.0.2 for TNG v10.1
10.0.0.0 for TNG v10
126.96.36.199 for TNG v9.1.0
188.8.131.52 for TNG v9.0.4
184.108.40.206 for TNG v9.0.0 - v9.0.3
|Min TNG V||9.0.0|
|Max TNG V||11.1.2|
Purpose of the mod
|TNG version:||≤ 11.1.2|
This mod will change the way media are shown on the getPerson page. Media with a title or description will be shown first on a one per row basis. Then all media having neither a title nor a description will be shown on one line (or more lines if they don't fit on one line).
Note that the Compact Person Media mod is not compatible with the Mobile Site Enhancements mod. You must install the Compact Person Media - Mobile version after the Mobile Site Enhancements mod.
This mod was developed by Bart 'Roebie' Degryse
Updated for TNG v10, TNG v10.1, and TNG V11 by Ken Roy
- A working TNG installation.
- A backup of all affected files (see the list in the summary in the upper right corner of the page)
- An installed current version of the Mod Manager (is already included in TNG v9)
- Download the appropriate zip file as shown in the summary in the upper right corner of the page. NOTE that I host these zip files on my own server. That way I can count the number of downloads for each mod I made and estimate the relevance of such mod.
- Extract the config file from the downloaded zip file into the mods folder.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.
- Thumbnails of media without title and description are shown on one line on the getPerson page.
- Optionally the mod can hide titles and/or descriptions causing some or all media to be shown on one line.
Settings / Usage
Default TNG without Compact Person Media behaviour
- each thumbnail on a seperate line
Default Compact Person Media behaviour
- each thumbnail with a title and/or description on a seperate line
- all thumbnails without title and description next to each other on a single line (or multiple lines if too many to fit on one line)
If you want images with a title but without a description to be placed on the single line too you have to open the parameters screen (edit button on the mod manager page) and set the "Hide titles" option to true.
If you want images without a title but with a description to be placed on the single line too you have to open the parameters screen (edit button on the mod manager page) and set the "Hide descriptions" option to true.
If you want images with a title and/or a description to be placed on the single line too you have to open the parameters screen (edit button on the mod manager page) and set both the "Hide titles" and the "Hide descriptions" options to true.
In all these cases the default TNG behaviour when hovering a thumbnail will be kept:
- show a preview of the image
- show a tooltip with the title (if there is one)
The only difference is that the preview will appear at the left of the thumbnail when there is not enough space to show it on the right, and that it will not appear if there is not enough space on both sides.
Visualization of this mod
The following images show the visual effects of installing the mod. The examples have only been tested with template 3, but should work on any template.
The first example shows the effect on photos associated with a persons burial event. Note that in this case there is no photo with a description.
The second example shows the effect on photos in the media section of a persons page. In this case there is a photo with a description. As you can see it has been placed above the photos without description.
When images come too close to the right side of the browser there won't be place enough to show the preview. Version 220.127.116.11 solves this by showing the preview on the left side.
In the event of a problem
- Try using the Mod Manager Remove capability.
- Open an issue in the TNG Community Forums* Copy the backup of the affected files back to your TNG directory.
|v18.104.22.168||8 March 2016||Updated for TNG V11. Compact Person Media - Mobile version v10.1.0.2 is still valid to be installed after the Mobile Site Enhancements mod|
|v10.1.0.2||10 June 2015||Compact Person Media - Mobile version posted to be installed after the Mobile Site Enhancements mod|
|v10.1.0.2||26 January 2015||Updated for TNG V10.1 to resolve uninstall issue|
|v10.1.0.1||11 January 2015||Updated for TNG V10.1 to resolve issues with TNG V10.1 Mod Manager syntax rules|
|v10.0.0.0||8 February 2014||Updated for TNG V10 to resolve issue with TNG V10 Custom Events collapse capability|
|v22.214.171.124||8 December 2012||
|v126.96.36.199||2 October 2012||
|v188.8.131.52||2 October 2012|| This version fixes (another) layout bug which made the "one line" jump partially out of the table when the event didn't have a date and place.|
Warning: This will be the last version of the mod for TNG versions lower than 9.0.4
|v184.108.40.206||21 September 2012|| When the utmost right image in a row comes too close to the border of your browser the preview is not (completely) visible anymore. This version fixes this partially by showing the preview on the left side in those cases.|
Warning: When the distance between the left border of the browser and the scrollbar (or border) on the right is less than 865 pixels, for at least one image there won't be enough place to show the preview on the left side either. In those cases the preview simply doesn't show. Once TNG uses jQuery I'll try to solve that too.
Warning: In some browsers when you hold your mouse over the first pixel on the left of some images the preview starts flickering. I couldn't find a solution for that, but again I hope jQuery will (help me) solve this.
|v220.127.116.11||18 September 2012||
|v18.104.22.168||13 September 2012||This version bypasses a bug in IE9 which renders the left label column too wide in some cases.|
|v22.214.171.124||11 September 2012|| This version fixes a little TNG bug causing this message:
Warning: preg_replace() [function.preg-replace]: Unknown modifier 't' in /public_html/personlib.php on line 560
|v126.96.36.199||11 September 2012||Initial config file release|
Sites using this mod
If you download and install this mod, please add your TNG site to the table below:
|no public site||Bart 'Roebie' Degryse||Mod developer||v188.8.131.52||TNG 9.0.4||NL/EN/ES/FR|
|http://www.genealogy.henny-savenije.pe.kr/tng/||Henny Savenije||v184.108.40.206||TNG 9.0.3||NL/EN/ES/FR|
|Our Roy and Boucher Genealogy||Ken Roy||At one time used the Compact Person Media - Mobile version - no longer use||v10.1.0.2||11.0.0||EN, FR|
|Sebastiaan van den Heuvel||Marco van den Heuvel||v220.127.116.11||TNG 9.0.3||NL/EN|
|Our Family Histories||Bryan S. Larson||v18.104.22.168||TNG 9.0.3||EN|
|My family||(no public site)||see here||see here||D,(NL),(GB)|
|Turner Mob||Margaret Grogan Turner||Public site||10.1.0.2||TNG 10.1.1||EN|
|Grogan Mob||Margaret Grogan Turner||Public site||10.1.0.2||TNG 10.1.1||EN|
|Arsenault/Simpson Family Website||Bob Arsenault||(Not a public site)||v22.214.171.124||TNG 9.1.2||EN|
|Legacy Gazette: My Roots - My Legacy||Melissa Watson Padilla||Public Site||126.96.36.199||9.2.1||EN|
|Genealogy.Ravensbeak.Com - Mueller-Diefenbach Families||Bob Mueller||188.8.131.52||9.2.0||EN, DE|
|MOTYER Family Genealogy||John Mark Motyer||Public site||see here||see here||EN, DE, RU|
|g.nomi||William Vincent||Integrated with WordPress||184.108.40.206||9.2.2||EN|
|DJCM.DK||Claus Martinussen||Public site||220.127.116.11||11.0.0||DA, EN|
|Wortelboer Genealogy||Bernard Wortelboer||Public site||10.1.0.2||10.1.0||NL/EN|
|Kleinmann Genealogy||John Kleinmann||18.104.22.168||12.0||EN|
|R G Strong Family Genealogy||Russell Strong||Public Site||22.214.171.124||11.0.0||EN, FR, DE, NL|
|OurLife Family History - McMullen Clan||Sean Thompson||Not a public site.||126.96.36.199||11.1.0||English|
|Wilton, Brimson, Munro and Forward Families||Sharon Lewis||use the Compact Person Media - Mobile version||188.8.131.52||11.1.0||English|
|Drzewo Genealogiczne Rodziny Pepel||Klemens Pepe||Not a public site.||184.108.40.206||11.1.0||Polish|