External Media
![]() |
Downloads of External 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 | ![]() |
![]() |
If you have trouble downloading with Google Chrome, Vivaldi, Brave or other Chromium based browser, try using a right-click and select Open in new Window, then F5, or use another browser such as Firefox | ![]() |
![]() |
The latest version of this mod uses the guidelines for TNG v12+ cust_text.php files. If you are using TNGv12+, and any cust_text.php file in this mod is marked with a Bad Target error, you need to update your cust_text.php files before you can install this mod. [Show instructions]
If you upgraded to TNGv12+, and did not update your cust_text.php files as instructed in the upgrade readme script, then you must use the TNG Mod Manager to update them. To do so:
[See details in the TNGv12 Change Impacts Article][Hide the instructions] |
|
External Media | ||
---|---|---|
Summary | This Mod displays external images, videos and texts exactly as those hosted on your own TNG server. | |
Validation | Unknown | |
Mod Updated | 17 Aug 2023 | |
Download link | v14.0.0.0d
| |
Download stats | ||
Author(s) | Jean-Luc Halleux | |
Homepage | External Media (This page) | |
Mod Support | TNG Community Forums | |
Contact Developer | jlh-tng@internetofficer.io | |
Latest Mod | v14.0.0.0d | |
Min TNG V | 14.0.0 | |
Max TNG V | 14+ | |
Files modified | genlib.php showmedialib.php ajx_smallimage.php globallib.php personlib.php admin_newmedia.php admin_editmedia.php admin_addmedia.php imageutils.php js/mediautils.js | |
Related Mods | ||
Notes |
Purpose of the mod
This Mod displays external media in the same way as media hosted on your TNG server.
- Supports external images, photos, videos and recordings.
- Supported documents include .txt, .doc, .docx and .pdf files.
- Enlarged pop-up image on thumbnail hover.
- Thumbnails of external images can be created automatically.
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.
Revision History
Mod Version | TNG Version | Date | Contents |
---|---|---|---|
14.0.0.0d | 14.0 | 17 Aug 2023 | can coexist with PDFjs (external media are not supported by PDFjs) |
14.0.0.0c | 14.0 | 12 Jun 2023 | added features: support of pdf files, automatic creation of thumbnail of external images, enlarged pop-up image on thumbnail hover |
14.0.0.0 | 14.0 | 24 May 2023 | Created by Jean-Luc Halleux |
Warnings
Do not use this mod to view photos and other media hosted on third-party servers when you're not sure if those files will still be there in the future or accept the risk of viewing unwanted content.
Some .pdf files are not compatible with this mod (seems to be related to the use of http on one side and https on the other).
Automatic generation of multiple thumbnails of external images in admin is not supported.
Installation Order Requirements
![]() |
Note the install order requirements. If using the PDFjs Viewer Mod:
|
![]() |
Installation
- Uninstall and delete previous version of this mod (if installed)
- Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
- Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.
In the event of a problem
- Try using the Mod Manager Remove capability
- Copy the backup of the affected files back to your TNG directory
- Contact us through the TNG Community Forums.
Uninstalling the mod
If you want to completely Remove (uninstall) this mod and any tables if created, you should
- click the Uninstall button to uninstall the mod
- click the Delete button to delete the config file from the mods folder.
Upgrade
- Uninstall and eventually Delete the current Mod.
- Proceed as for an installation with the new Mod.
Visualization
TNG version: | ≥ 14.0 |
Display of a local image
When showing a local image, the user remains on your TNG site.
Display of an external image without the External Media mod
When showing an external image, the user navigates to the third-party website by leaving your TNG site.
Display of an external image with the External Media mod
When showing the external image, the user stays in your TNG site, just like a local image.
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 | |
---|---|---|---|---|---|---|
Developer Test Site | Jean-Luc Halleux | Private test site | 14.0.0.0c | 14.0.2 | FR,NL,PT,EN,ES | |
American Kindred | americankindred | Public | 14.0.0.0c | 14.0.2 | ENG | |
GénéaKat | Katryne Présidente du Fan Club de Jean-Luc | Public & Private site | 14.0.0.0f | 14.0.4 | FR,EN,SP | |
Brabantse Genealogie | Rob van Rij | Public Site | 14.0.0.0d |
|
NL,EN,DE,FR | |
Genealogie van Rij (Riede, Reij, Rije) | Rob van Rij | Public Site | 14.0.0.0d |
|
NL,EN,DE,FR |
<title>503 Service Unavailable</title>
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request.