Features:

Download:

Version 1.0.3 (24 KB) - Some bug fixes 10 July 06

Demo:

Stand-alone - As a module

Licence:

GPL

Installation:

  1. Extract all files to a directory on your web server.
  2. Load http://yoursite/PATH/TO/GALLERY/index.php on a web browser. If you can see Example Folder and its images as well as to navigate around, everything is DONE.

Usage:

Place images and directories (categories) in data/. Subdirectories can be created inside the directories.

Image captions are written in a caption.txt file placed in the same directory of the images. The caption.txt file's format is as following

; this is a comment
; captions should be enclosed in quotes

my_photo.jpg = "caption for my_photo.jpg"

Configuration:

<?php
include('PATH/TO/gallery.php');  // required
$gallery = new WingedGallery();  // required

// set the document root
$gallery->setDocumentRoot('/HOME/ME/PUBLIC_HTML');

// set a template in the 'template/' folder
$gallery->setTemplate('MY_TPL');

// set the URL of this page including a trailing question mark (?)
$gallery->setURL('/index.php?');

// set the gallery name
$gallery->setGalleryName('My Gallery');

// set the size of the small thumbnail
$gallery->setSmallThumbSize(75);

// set the size of the big thumbnail
$gallery->setBigThumbSize(200);

// display the gallery
$gallery->display();  // required
?>

Link to the template's style sheet in the <head> section:

<link rel="stylesheet" type="text/css"
   href="PATH/TO/GALLERY/template/default/style.css" />