Installation and Configuration

Installation

To use the complete functionallity of the gallery you have to have php > 4.3.0 and gdlib > 2.0.1 (To run the gallery with less prerequisites - see here how to install the version with less functionallity). You don't need a database because all titles and comments are stored in XML files in the cache folder.
The installation is really easy:

  1. Extract the downloaded archive into a folder on the web server (root folder possible since v1.01)
  2. Make the directory 'cache', 'counter' and 'xml' read and writeable (chmod 777) on the webserver.
  3. Copy the folders of your pictures into the 'picture' directory (Only one level is supported!). The directory name is the name of the gallery.
  4. To protect a gallery with a password you have to make an empty file with the name 'private' in the folder of the gallery. The password is the one from the config.php. To use a indivitual password for a gallery you have to insert this password into the 'private' file.
  5. Adapt the config.php to your needs (change passwords!).
  6. You can change the titel of the gallery in the language/language_<language>.php file at $lang_titel
  7. Have fun with the TinyWebGallery - It would be great to get some feedback if you are using the TinyWebGallery.

Forum

There is no need for a forum yet. If you have questions, problems or want to give some feedback - Just send a email. I will answer everything as soon as possible.

Configuration

Configuration of the border The remaining configurations can be done in the config.php.

Lower prerequisites

To use the all functions of the TinyWegGallery You need PHP >= 4.3.0. It is important that PHP is compiled with the bundled version of the GD library. Otherweise the funktion rotateimage is not available even if you are using a newer version.
TinyWebGallery tries to detect this and removes the buttons for rotating the images. In the $cachedir is the file _rotate_available.jpg created if the function is available - otherwise the file _rotate_not_available.jpg.
If the automatic detections does not work you have to create the file _rotate_available.jpg manually (This can even be an empty file).

If you have a version of PHP >=4.06 and <4.3.0 you have to use the gallery without the rotation. Create the file _rotate_not_available.jpg in the $cachedir folder.

You can use the WebGallery with GD > 1.6. But the available graphic methods only use 256 colors and therefore it is not recommend to use this library. The function 'checkrotate' in inc/filefunctions.inc.php does some checking if certain functions are available. You have to remove these checks to get the gallery running with GD > 1.6.