
Instalation
-----------

Untar the FitGallery package, the contents of "www" directory should be
 copied into the webserver published tree.

Edit config files in "config" directory to your preferences, the options are
 explained inside each file.
Config files:
 config-common.php: contains common configuration for the gallery system
 config-lang.php: contains texts for every language supported (currently
  english and spanish) 
 config-pages.php: contains specific configuration for webpages generated by
  fitgallery, by default controls the behaviour of gallery index,
  picture index and exif information but you can create specific
  configuration for each of them, just copy "config-pages.php" with the
  names:
 config-gals.php: for gallery index page
 config-exif.php: for exif information page
 then "config-pages.php" will only affect picture index page

Edit "titulo" and "subtitulo" files (in root directory for gallery index and
 in each gallery) with title and subtitle texts, you can use HTML.

In the "styles" directory you can find the style sheets (CSS), you can
 edit/add your own including PHP code or plain CSS.
You can create per-gallery variations of CSS files, for example if base
 style is "random.css.php" and you have "local_gallery_sample" and
 "other_gallery" galleries, you can make different CSS files for them named
 "local_gallery_sample-random.css.php" and "other_gallery-random.css.php".


Add a new local gallery
-----------------------

Create a new directory inside "galleries" directory.
Untar files/gallery-skeletor.tar.gz into the new directory.
Put the pictures in "imgs" directory.
Edit "titulo" and "subtitulo" files with title and subtitle texts, you can
 use HTML.
Give read-write-execute permissions to webserver/PHP user to "medium" and
 "thumbs" directories. The thumbnails will be created automatically and
 stored.


Add a new remote gallery (in other site running FitGallery)
-----------------------------------------------------------

If remote fitgallery version >= 0.85

Create a new file inside "galleries" directory containing 2 lines with the
 following data:
  * URL of the remote gallery
  * Name of the remote gallery

If remote fitgallery version < 0.85:

Create a new file inside "galleries" directory containing 4 lines with the
 following data:
  * URL of the remote gallery
  * Name of the remote gallery
  * Filename from the remote gallery that will be shown as thumb for the
    gallery
  * Text for the title of the gallery

See the examples.
