X-Git-Url: https://git.sommitrealweird.co.uk/bpgallery.git/blobdiff_plain/77556ba866fa3f51a4ae229f92f853c3242d4533..06ddf26160a4e9375336d91b3fce0a6effd4c666:/bpgallery.sh diff --git a/bpgallery.sh b/bpgallery.sh index d98805f..338b780 100755 --- a/bpgallery.sh +++ b/bpgallery.sh @@ -17,10 +17,9 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -set -e set -f -VERSION="1.1+arch" +VERSION="1.1.3" function bpgallery_default_head() { cat < ${TITLE} - + END @@ -53,7 +52,7 @@ else caption_alt=$caption fi cat << END -
$caption_alt
$caption
+
$caption_alt
$caption
END } @@ -81,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 { @@ -134,7 +134,7 @@ function bpgallery_default_page() {

${caption}