#!/bin/bash

#!/login
#!/register

The Better Bash Gallery

Improved gallery written in bash

The Better Bash Gallery version 0.1

Features:
- Automatic thumbnail creation
- Directory thumbnails
- Authentication support (see Authentication paragraph)

Demo: http://guest@andreas.anvame.net/cgi-bin/gallery/gallery.sh

Requirements:
- bash
- imagemagick
- apache
- pictures


Installation:
1. Put the files in cgi-bin/gallery/ somewhere in a script directory.
I have them in ~/public_html/cgi-bin/gallery/.

2. Put some image files in a directory accessible by the webserver.
I have them in ~/public_html/albums.

3. Create a directory for the thumbnails, writable by the webserver.
I have a ~/public_html/thumbs with mode 0750 and owned by httpd

4. Point your browser to http://myhost/~myuser/cgi-bin/gallery/gallery.sh



Authentication:
If you put .htaccess files in the images directory, the gallery will try to
detect if the currently logged-on user has the right to browse that directory.
To use this feature, there must be at least a simple .htaccess at the gallery
script directory. You can use it as follows:
- No Authentication:
Just don’t do anything ;)
- Full Authentication:
This is easy, if you want to have the whole album secured. You just put a
.htaccess file in the directory where the gallery.sh resides (and
preferably also to the directory where your images are).
The option AllowOverride

Project Category: gallery

Wiki at shellscripts.org

Project owner: netrunner

[subscribe]

[RSS Feed for new releases]

Version history:
Version Release date ChangeLog Download
0.1Fri Mar 31 15:16:45 UTC 2006tbbg-0.1.tar.bz2 (application/octet-stream)