Addons
Since TWG 1.8 the following addons are available:
Name |
Screenshots - click for larger view |
Description |
Download |
---|---|---|---|
TWG Flash Thumbnailer | Since TWG 1.8 it is possible to include the TWG Thumbnail Flash on external pages. It loads all images from a given folder and links them with the TinyWebGallery. On the left side you see a small working example. |
||
TWG Flash Thumbnailer with Lightbox (slimbox2) | The flash is the same as in the examle above. The difference is that TWG is not called directly but the Javascript function showImage(url). So you decide what happens next. This this example I have used the lightbox clon slimbox2 that shows the detail image of TWG. But you can simply do nothing or jump to any url you like. On the left side you see a small working example. Installation: In the download you find an example HTML page where you see how the flash is included. There you also find a description of all possible parameters. Additionally you need the folder slimbox2. If the flash is on a different domain you have to place a crossdomain.xml (an example is included) in the external folder to allow the access of the flash. then you have to set the parameter $use_js_call_external_thumb_flash = true; setzen and implement the method showImage. Here you can do whatever you like. You need the latest verson of TWG 1.8.3 for this. |
||
Mp3 background music | This addon play a mp3 as background music in each folder. You only have to place a file called background.mp3 in the folder. |
||
Ecard | The Ecard-plugins allows to include an external E-Card-System like e.g. sendcard fast and uncomplicated. You only have to change the paths in the global_image.htm. If you use sendcard it important to link directly into the cache folder because you cannot specify any subfolders in the configuration there. The included image is only as example and should be replaced with your own image. |
||
FLV 3.x support | TWG includes the JW Player version 4.3.132, which is the last verson without branding. Who likes to use version 3.16 can download it here. This version seems to run some videos with linux better. Try this version if you have problems using linux. |
||
Download link | This addon creates a global download link on all pages. The link shows a 'save as' dialog. You need TWG 1.8.1 after the 27th of August to get the save as dialog. |
Please note
Some of the addons use a special version of the image.txt (see howto 28): global_image.htm. The difference to the normal image.txt is that is is included on all detail pages and the following place holders are replaced automatically:
- {img_full_url} - The full URL of the image
- {image_name} - The image name
- {directory_name} - The album name
- {img_cache} - The name of the detail image in the cache folder
- {thumb_cache} - The name of the thumbnail in the cache folder
- {lang} - The current language
The file global_image.htm has to be saved in the main folder of TWG. You can also use language dependant global_image.htm files. For german the file would have to be global_image_de.htm. By setting $image_txt_position='side' global_image.htm will be shown left and global_image2.htm right of the image. I always put a spacer in one of the files to center the image again.
Based on this you can easily create your own extensions. E.g. a link to a shopping basket.