Compact Person Media
| While the Compact Person Media mod installs and appears to works in TNG V10, it is not compatible with the TNG Hide Personal Media option.
|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.|
|Download stats||V10 download statistics|
See download statistics
|Author(s)||Bart 'Roebie' Degryse|
|Homepage||Compact Person Media|
|Mod Support||TNG forum|
|Latest Mod||10.1.0.2 for TNG v10.1|
910.0.0.0 for TNG v10
184.108.40.206 for TNG v9.1.0
220.127.116.11 for TNG v9.0.4
18.104.22.168 for TNG v9.0.0 - v9.0.3
|Min TNG V||9.0.0|
|Max TNG V||10.1.0|
Purpose of the mod
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).
This mod was developed by Bart 'Roebie' Degryse
Updated for TNG v10 and 10.1 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 22.214.171.124 solves this by showing the preview on the left side.
In the event of a problem
- Try using the Mod Manager Remove capability.
- Contact me through the TNG forum.
- Contact me by email. My email address is in the description column of this mod on the Mod Manager page.
- Copy the backup of the affected files back to your TNG directory.
|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|
|v126.96.36.199||8 December 2012||
|v188.8.131.52||2 October 2012||
|v184.108.40.206||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
|v220.127.116.11||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.
|v18.104.22.168||18 September 2012||
|v22.214.171.124||13 September 2012||This version bypasses a bug in IE9 which renders the left label column too wide in some cases.|
|v126.96.36.199||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
|v188.8.131.52||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||v184.108.40.206||TNG 9.0.4||NL/EN/ES/FR|
|http://www.genealogy.henny-savenije.pe.kr/tng/||Henny Savenije||v220.127.116.11||TNG 9.0.3||NL/EN/ES/FR|
|Our Roy and Boucher Genealogy||Ken Roy||v18.104.22.168||TNG 9.0.3||NL/EN/ES/FR|
|Sebastiaan van den Heuvel||Marco van den Heuvel||v22.214.171.124||TNG 9.0.3||NL/EN|
|Our Family Histories||Bryan S. Larson||v126.96.36.199||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)||v188.8.131.52||TNG 9.1.2||EN|
|Legacy Gazette: My Roots - My Legacy||Melissa Watson Padilla||Public Site||184.108.40.206||9.2.1||EN|
|Genealogy.Ravensbeak.Com - Mueller-Diefenbach Families||Bob Mueller||220.127.116.11||9.2.0||EN, DE|
|GenealogyWings||John Mark Motyer||Public site||18.104.22.168||9.2.1||EN, DE, RU|
|g.nomi||William Vincent||Integrated with WordPress||22.214.171.124||9.2.2||EN|
|DJCM.DK||Claus Martinussen||Public site||10.1.0.2||10.1.0||DA, EN|
|Wortelboer Genealogy||Bernard Wortelboer||Public site||10.1.0.2||10.1.0||NL/EN|