Bizou is a very simple image gallery written in PHP following the KISS principle.
Bizou is free software released under the GPLv3 license.
(Bizou is a variant of "bisou", a french word for a kiss.)
Features
- No database needed. Just drop your images in a directory.
- Sexy URLs (/bizou/demo/index.php/2008 Corse)
- Album/directory preview (first image as preview)
- Fast browsing (next image preloading, HTTP Cache-Control headers)
- Keyboard navigation in image viewer
Install
Required: a web server with PHP5 and the GD extension.
- Untar the archive to your web directory
- Copy some files in the images/ directory
- For thumbnails, make sure the web server has write access on the data/ directory (probably not needed for FTP installs)
- Try it, have fun!
# And for commandline fans like me...
wget www.positon.org/bizou/bizou_vXX.tar.gz
tar -xzvf bizou_vXX.tar.gz
# allow we server to write in data dir
chgrp www-data bizou/data/
chmod g+w bizou/data/
Plugins
All plugins are now included in Bizou archive. Many are disabled by default. To enable, move them from _disabled dir to plugins dir.
viewer
Enabled by default. An image viewer with prev/next buttons, keyboard navigation and next image preloading.
greystyle
Enabled by default. A css style for Bizou. Many thanks to Titi for that.
tar
Download an entire directory with tar streaming. Very fast, and no need for extra space. You can enable recursion by editing tar.php.
Demo
# commandline fans, downloading a directory becomes as simple as:
wget -O- http://www.positon.org/bizou/demoplugins/tar/plugins/tar/tar.php/2008%20Corse | tar -xvf -
zip
Download a directory as zip file. Contributed by Felix Friedrich.
Demo
balanced
Use a balancing javascript algorithm to optimize thumbs widths (comics style). Contributed by Baptiste CLÉMENT.
Demo
You may adjust THUMB_SIZE in config.php and purge data dir content after enabling this plugin.
squares
Generate square thumbnails.
Demo
You should purge data dir content when enabling it.
sort
Adjust the sorting of folders or files. By default, reverse the directory order (most recent albums first). You can adjust the sort in sort/before_content.php
Demo
filenames
Displays filenames bellow thumbnails.
Demo
Development
Feel free to report any bug or suggestion:
Git tree: https://github.com/dooblem/bizou
Changelog
2013-09-28 (v1.7)- Balanced plugin contributed by Felix Friedrich
- Zip plugin contributed by Felix Friedrich
- New plugins: sort, filenames, squares
- Hide dot hidden files
- other minor changes
- No more "progess page" when generating thumbs, images are just displayed one by one when generated
- Config option setting the umask for group writeable files by default (usefull if your install user is different from www user)
- A css style for Bizou is now available. Thanks to Titi. See in the plugins section.
- Display a progress page when generating thumbs
- Exported templates in external template.php files
- Bugfix: next image not preloaded for images in the images/ root (because of a double slash in URL)
- The tar plugin
- Fixed a bug when operating at the top web directory. Thanks to pilau.
- Added page title, some credit.. This features are turning into a changelog.
- Keyboard navigation in image viewer
- Small CSS and Javascript improvements
- Plugins support (minimalist API to start, contact me if you need to add something)
- CSS theme support via plugins
- Image Viewer is now a 'viewer' plugin
- Only 2 PHP files
- No database needed. Just drop your images in a directory.
- Simple album preview (first image as preview)
- Sexy URLs (/images/index.php/2008 Corse /images/plugins/viewer/view.php/2008 Corse/002 ajaccio.jpg)
- Next image preloading
- Fast browsing with HTTP Expires headers