X-Git-Url: https://git.sommitrealweird.co.uk/bpgallery.git/blobdiff_plain/f232d33389ed4f6591337cf05516533040d6018f..a13646261ee12487ab74ad73c6bd208d60bafc19:/bpgallery.sh diff --git a/bpgallery.sh b/bpgallery.sh index 50c3b72..3191eed 100755 --- a/bpgallery.sh +++ b/bpgallery.sh @@ -19,7 +19,7 @@ set -f -VERSION="1.1.0" +VERSION="1.1.2" 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,7 +134,7 @@ function bpgallery_default_page() {

${caption}