Ben's Picture Gallery (BPG)
About Ben's Picture Gallery
This gallery program will show pictures and video from your digital camera on your website.
The interface is intuitive and easy for your friends and family to navigate.
It is also easy to install on your own Linux or Mac home server.
Demo
Latest Version
Installation
Download and unzip bpg.zip to your web server.
View index.php in a browser and install any missing dependancies.
Put your pictures and videos in the "photos" directory.
Make your own "config.php" file with custom settings.
schedule a cron task to generate all the cache files 59 23 * * * cd /var/www/photos && php index.php -g -d "all" -t all
Installing dependancies
Ubuntu/Debian
apt-get install php5-gd ffmpeg id3v2 libimage-exiftool-perl
Mac
Install PHP from http://www.entropy.ch/software/macosx/php/
Then install macports and use it to install ffmpeg, id3v2 and libimage-exiftool-perl
sudo port -d selfupdate
sudo port install ffmpeg id3v2 p5-image-exiftool
install qt-faststart
sudo curl http://www.programmer-art.org/dropbox/qtfaststart.py -o /usr/local/bin/qtfaststart.py
sudo chmod +x /usr/local/bin/qtfaststart.py
Features
Supports jpg, mp4, mov, avi and mp3 files.
Slideshow with photos and videos.
Pictures automatically scale to fit any screen size.
Automatic image rotation from the EXIF orientation data in the photo jpg files.
Tested with Canon, Nikon, and Kodak cameras.
Automatically maintains cache of thumbnail and screen images.
Original photos can be protected from downloading.
Watermarks can be added to screen images.
Videos are converted to the h264 format for low bandwidth.
Videos are played in a Flash player.
Load balanced mirror feature can be used for fast thumbnail loading when bandwidth is limited.
RSS feeds compatible with iPhoto Photocasts.
RSS announcement feed can be used to annnounce new photos.
Captions can be added to photos and they are saved the original file.
This means you can keep your captions if you want to use a different program in the future.
Editing captions and deleting files is restricted to "admin" users.
Shopping cart for download a zip file or purchasing prints using Digibug or Shutterfly.
Most features can be enabled or disabled individually.
Built-in installation help guide.
System requirements
Apache web server (tested on Mac, Ubuntu and Debian)
PHP with GD and EXIF support
ffmpeg & qt-faststart (for videos)
exiftool (for editing JPEG file comments)
zip (for downloading zip files)
Help
Credits
None of this would have been possible without the work of many other talented people.
Hosted by