From: Brett Parker <iDunno@sommitrealweird.co.uk>
Date: Tue, 1 Jan 2008 18:17:00 +0000 (+0000)
Subject: * Update documentation
X-Git-Tag: release-1.1.3~1
X-Git-Url: https://git.sommitrealweird.co.uk/bpgallery.git/commitdiff_plain/6bb3ef883f1f04019d5ef106f1eac271aeae2c2c?hp=a13646261ee12487ab74ad73c6bd208d60bafc19

* Update documentation
---

diff --git a/ChangeLog b/ChangeLog
index 75bf776..a285d74 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2008-01-01 Brett Parker <iDunno@sommitrealweird.co.uk>
+  * Fix the height bounding box code
+
 2007-12-22 Brett Parker <iDunno@sommitrealweird.co.uk>
   * Allow a HEIGHT to be specified as well as the WIDTH creating a bounding
       box to fit in to
diff --git a/README b/README
index 02b2a18..026262f 100644
--- a/README
+++ b/README
@@ -122,7 +122,8 @@ The functions that you need to declare are as follows:
                         It generates the stylesheet for the page.
                 available variables:
                         $WIDTH       - the width of the images
-                        $MAXHEIGHT   - the maximum height of the image
+                        $MAXWIDTH    - the maximum width of the images
+                        $MAXHEIGHT   - the maximum height of the images
         bpgallery_ThemeName_thumbsline()
                 what's it for?:
                         Whatever is in here is generated per thumbnail.
diff --git a/bpgallery.sh b/bpgallery.sh
index 3191eed..50f032e 100755
--- a/bpgallery.sh
+++ b/bpgallery.sh
@@ -499,9 +499,16 @@ set.
         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)