Ben's Picture Gallery (BPG)
About Ben's Picture Gallery
This is a photo gallery program to show pictures and video from a digital camera on your website.
It is easy to install on your own stay at home server and
the interface is easy for all your friends and family to navigate.
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.
Installing dependancies
- Ubuntu/Debian
- apt-get install php5-gd ffmpeg jhead id3v2
- Mac
- Install PHP from http://www.entropy.ch/software/macosx/php/
- Then install macports and use it to install ffmpeg, jhead and id3v2
- sudo port -d selfupdate
- sudo port install ffmpeg jhead id3v2
- 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, avi and mp3 files.
- Slideshow with photos and videos.
- Pictures automatically scale to fit any screen.
- Automatic image rotation with EXIF orientation data.
- Tested with Canon and Nikon cameras.
- Automatically maintains cache of thumbnail and screen images.
- Original photos are protected from downloading.
- Watermarks can be added to screen images.
- Videos are converted to the mp4/h264 format for low bandwidth.
- Videos are played with the Flash JW Player or Quicktime.
- Load balanced mirror feature speeds up thumbnail loading when bandwidth is limited.
- RSS feeds compatible with iPhoto Photocasts.
- Photo descriptions are saved in the JPEG comments of the original file (like writing on the back of a print).
- Image descriptions editing and deleting files restricted to "admin" users.
- Cart to download a zip file or purchase prints using Digibug or Shutterfly.
- Most features can be enabled or disabled.
- Built-in installation help.
Demo
System requirements
- Apache web server (tested on Mac, Ubuntu and Debian)
- PHP with GD and EXIF support
- ffmpeg & qt-faststart (for videos)
- jhead (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.