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. You should not use the TNG Media Collapse option if you want to use this mod. 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 | {{{mod_last_update}}} | ||||
Download link |
compact_person_media_v9.1.0.7.zip
compact_person_media_v9.0.4.6.zip
| ||||
Download stats | V10 download statistics See download statistics | ||||
Author(s) | Bart 'Roebie' Degryse | ||||
Homepage | Compact Person Media | ||||
Mod Support | TNG forum | ||||
Contact Developer | |||||
Latest Mod | 10.0.0.0 for TNG v10 9.1.0.7 for TNG v9.1.0 9.0.4.6 for TNG v9.0.4 9.0.0.5 for TNG v9.0.0 - v9.0.3 | ||||
Min TNG V | 9.0.0 | ||||
Max TNG V | 10.0.0 | ||||
Files modified | personlib.php css/genstyle.css js/net.js | ||||
Related Mods | |||||
Notes |
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).
Developer
This mod was developed by Bart 'Roebie' Degryse.
Requirements
- 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)
Installation
- 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.
Feature List
- 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 9.0.0.4 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.
Revision History
Version | Release Date | Contents |
---|---|---|
v10.0.0.0 | 8 February 2014 | Updated for TNG V10 to resolve issue with TNG V10 Custom Events collapse capability |
v9.1.0.7 | 8 December 2012 |
|
v9.0.4.6 | 2 October 2012 |
|
v9.0.0.5 | 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 |
v9.0.0.4 | 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. |
v9.0.0.3 | 18 September 2012 |
|
v9.0.0.2 | 13 September 2012 | This version bypasses a bug in IE9 which renders the left label column too wide in some cases. |
v9.0.0.1 | 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 |
v9.0.0.0 | 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:
URL | User | Note | Mod-Version | TNG-Version | User-language | |
---|---|---|---|---|---|---|
no public site | Bart 'Roebie' Degryse | Mod developer | v9.0.4.6 | TNG 9.0.4 | NL/EN/ES/FR | |
http://www.genealogy.henny-savenije.pe.kr/tng/ | Henny Savenije | v9.0.0.3 | TNG 9.0.3 | NL/EN/ES/FR | ||
Our Roy and Boucher Genealogy | Ken Roy | v9.0.0.3 | TNG 9.0.3 | NL/EN/ES/FR | ||
Sebastiaan van den Heuvel | Marco van den Heuvel | v9.0.0.4 | TNG 9.0.3 | NL/EN | ||
Our Family Histories | Bryan S. Larson | v9.0.0.4 | TNG 9.0.3 | EN | ||
My family | (no public site) | see here | see here | D,(NL),(GB) | ||
Turner Mob | Margaret Grogan Turner | Public site | 9.1.0.7 | TNG 9.2.0 | EN | |
Grogan Mob | Margaret Grogan Turner | Public site | 9.1.0.7 | TNG 9.2.0 | EN | |
Arsenault/Simpson Family Website | Bob Arsenault | (Not a public site) | v9.1.0.7 | TNG 9.1.2 | EN | |
Legacy Gazette: My Roots - My Legacy | Melissa Watson Padilla | Public Site | 9.1.0.7 | 9.2.1 | EN | |
Genealogy.Ravensbeak.Com - Mueller-Diefenbach Families | Bob Mueller | 9.1.0.7 | 9.2.0 | EN, DE | ||
GenealogyWings | John Mark Motyer | Public site | 9.1.0.7 | 9.2.1 | EN, DE, RU | |
g.nomi | William Vincent | Integrated with WordPress | 9.0.0.0 | 9.2.2 | EN |