X-Git-Url: https://git.sommitrealweird.co.uk/bpgallery.git/blobdiff_plain/d62a41ddcf501d3c1a147f544dc6fa1b032b2750..06ddf26160a4e9375336d91b3fce0a6effd4c666:/bpgallery.sh diff --git a/bpgallery.sh b/bpgallery.sh index 955cb71..338b780 100755 --- a/bpgallery.sh +++ b/bpgallery.sh @@ -19,7 +19,7 @@ set -f -VERSION="1.1+arch" +VERSION="1.1.3" function bpgallery_default_head() { cat < ${TITLE} - + END @@ -52,7 +52,7 @@ else caption_alt=$caption fi cat << END -
$caption_alt
$caption
+
$caption_alt
$caption
END } @@ -80,8 +80,9 @@ div.thumbnail { float: left; padding: 20px; border: 0px; - width: ${WIDTH}px; + width: ${MAXWIDTH}px; height: ${MAXHEIGHT}px; + text-align: center; } div.caption { @@ -133,18 +134,18 @@ function bpgallery_default_page() {

${caption}