# Gallery Module

The Gallery module is a simple small gallery that displays the pictures in a directory and all subdirectories. Settings can be made in the "galerie.tpl". The script is with
<?PHP include "modules/galerie/galerie.tpl"; ?>
loaded into a Webutler page. The directory name is variable and can be changed arbitrarily.
For more galleries the "galerie.tpl" can be easily duplicated.

## Settings

The script reads the root directory of the gallery. A menu is created from the subdirectories. The menu can be positioned with the variable "$galerie_menuposition" left or right.
In the variable "$webutler_galerie->startordner" of the startup folder must be specified in the variable "$webutler_galerie->root" of the directory path must be entered by the docroot to the startup folder.
In the variable "$webutler_galerie->tabellenspalten" is set in how many columns the images to be output. The sorting of images can be controlled via the variable "$webutler_galerie->sortierung". The appearance of the gallery can be controlled via the CSS file, the file is automatically included.
To ensure that images can be opened in the lightbox, the lightbox must be inserted in the header of Webutler page. The zoom images must be located in the subdirectory ".box" are and have the same file name.