TinyWebGallery Web gallery Addons download

Web gallery addons 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.
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. 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.

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.
To avoid that the mp3 is played again when the image does change you have to set
$dynamic_image_txt=false;
Installation: The file global_image.htm has to be saved in the main folder of TWG.
If you use php include the paths have to be adopted as well. You need to change e.g html/mediaplayer.swf?file=pictures/{directory_name}/background.mp3
to
twg/html/mediaplayer.swf?file=twg/pictures/{directory_name}/background.mp3
twice in the file. The path to the player AND to the mp3 has to be changed.

Ecard
web gallery ecard plugin image

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.
Installation: The file global_image.htm has to be saved to the main folder of TWG. Then you have to adopt the paths to your sendcard implementation.
I do not give any support to e-card systems because I don't know them. Please use the forums of this systems.
You can define the position of the image with $image_txt_position. you can use 'image','top','bottom','side'. If you use 'side' you should use a global_image2.htm to center the detail image again.

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.
Installation: Copy the file mediaplayer3.swf to the html folder and set $video_player to "FLV3".

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.
Installation: The file global_image.htm has to be saved to the main folder of TWG. Set the variable $image_txt_position to define the position where the link is displayed.

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.

Follow TWG at
Twitter

Like TWG on Facebook
Facebook