+
+This can also takes some environment variables, these will use defaults if not
+set.
+
+ TITLE
+ the title of the gallery
+
+ WIDTH
+ the width to make the icons
+
+ HEIGHT
+ the height to make the icons (sets up a bounding box with WIDTH)
+
+ MEDIUMWIDTH
+ set the width of images in the medium size pages
+
+ MEDIUMHEIGHT
+ the height to make images in the medium size pages (sets up a
+ bounding box with MEDIUMWIDTH)
+
+ 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
+
+ GENERATEPAGESFORMEDIUMSIZE
+ generate medium sized images and pages
+
+ GENERATEPAGESFORFULLSIZE
+ decide wether to generate pages for the full size images or not
+
+ INDEXDOCUMENT
+ name of the index page (e.g. index.html)
+
+Example:
+ TITLE="My Funky Gallery" WIDTH=200 INDEXDOCUMENT="welcome.html" GENERATEPAGESFORFULLSIZE=1 GENERATEPAGESFORMEDIUMSIZE=1 MEDIUMWIDTH=400 $0 /path/to/image/folder