Add in themed pages for the fullsize images
[bpgallery.git] / README
diff --git a/README b/README
index 6b9f99d2c3339c3d95140e03c94b88ef03187d7b..81c0a4ed02955628fccb88b75ab596273eab17bc 100644 (file)
--- a/README
+++ b/README
@@ -32,6 +32,8 @@ The following environment variables can also be used:
         BPGALLERY_THEME - set the theme to use (described below)
         BPGALLERY_THEME_DIR - set an extra location to look for themes
         OUTPUTHTML - sets the script output to be wrapped in a <pre> block
+        GENERATEPAGESFORFULLSIZE - decide wether to generate pages for the full
+                                   size images or not
 
 Example Usage:
         TITLE="My Funky Gallery" bpgallery.sh /path/to/image/files
@@ -70,8 +72,18 @@ The functions that you need to declare are as follows:
                 what's it for?:
                         Whatever is in here is generated per thumbnail.
                 available variables:
+                       $link        - the page/image to link to
                         $filename    - the name of the file
                         $caption     - the caption as got from captions.txt
+       bpgallery_ThemeName_page()
+               what's it for?:
+                        It generates the pages for fullsize image pages
+               available variables:
+                        $filename    - the name of the image
+                        $previouspage - the URL for the previous page
+                        $currentpage - the url for the current page
+                        $nextpage    - the url for the next page
+                        $caption     - the image caption
 
 If any of the functions are not defined in a theme then the default theme
 function will be used instead. The default theme is clean and simplistic, this