X-Git-Url: https://git.sommitrealweird.co.uk/bpgallery.git/blobdiff_plain/5e305a2e0a9b4349300a38ceb39a6c67b6dfd7a4..6bb3ef883f1f04019d5ef106f1eac271aeae2c2c:/README?ds=inline diff --git a/README b/README index df7e584..026262f 100644 --- a/README +++ b/README @@ -29,6 +29,12 @@ generate part of the index page: filenamecaption style file, it'll add a caption to the images on the index page. +If both width and height are specified then it'll be resized to the bounding +box that contains it. + +If height is specified without width then the bounding box will be 100xHEIGHT +for icons and 400xMEDIUMHEIGHT for the medium sized image pages + The following environment variables can also be used: TITLE the title of the gallery @@ -36,9 +42,15 @@ The following environment variables can also be used: WIDTH the width to make the icons + HEIGHT + the height to make the icons + MEDIUMWIDTH set the width of images in the medium size pages + MEDIUMHEIGHT + the height to make images in the medium size pages + BPGALLERY_THEME set the theme to use (described below) @@ -110,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.