Some docs to help developers
============================

The cligs system is provided in an object class called cligs (cligs-app.php)

the cligs->display() function detects the state and send the appropriate html
to the browser.  If a directory has been requested, it will draw the directory
listing page; if a jpeg, the image info page etc.

Cligs works primarily with a the set class (sets.php).  A set object represents
a group of images and/or sub-sets.  This easily maps onto the idea of
directories and files: a directory being a set and a file being an image.

Currently sets are loaded using the set->load_from_path($path) function but in
future, Cligs will alllow loading sets from other sources, such as database
search results.

