phpfspot
phpfspot brings you F-Spot album online. The php-based application handles the sqlite3 database of F-Spot and displays tags, EXIF informations (for JPEG photo's), ...
You can download a public release of phpfspot by clicking "Files" in the above menu and then selected the latest versions of the displayed listed. Current stable version is 1.6 (Changelog). A demo-installation with some wallpapers from kdelook.org can be found @ http://oss.netshadow.at/phpfspot/. Screenshots has some pictures of a running phpfspot installation.
A mailing list can be found at phpfspot@netshadow.at - before posting to this list you must subscribe either via sending an empty email to phpfspot-subscribe@netshadow.at or visit https://admin.netshadow.at/mailman/listinfo/phpfspot/.
Features
- publish your F-Spot photo collection in the web
- AJAX-based web-interface
- Tag-Cloud
- RSS XML export
- auto-rotation based on EXIF Orientation header in the photo
- Slideshow
- Works well with Firefox, Safari, Epiphany, Opera and IE
- Support of Nikon's NEF format (via dcraw)
Requirements
- apache2
- php5
o gd2-extension2
o sqlite3-extensions [or also as PDO driver]
o PEAR module Calendar
o PEAR module HTML_AJAX (version >= 0.5.6 suggested which supports Opera) - sqlite3
Reviews
- http://lefant.net/logposts/2007-07-22---phpfspot/ by Fabian
- http://www.linux.com/feature/133156 by Ben Martin
Users
Links
- roundup - issue tracking until 21st of June 2008.
- freshmeat.net project page
- PennAve - similar implementation with python written by Patrick Wagstrom
Installation
- Take a look into the INSTALL file which is included in the download
- For Debian users - see this Debian-Howto of Fabian
- For OpenSUSE users - see this OpenSUSE-Howto
Supporting user-friendly URL's
If you want to share links to photos or tags, you can use more beautiful links instead of "index.php?blabla". All you need is your Apache webserver supporting mod_rewrite. Look around in the web - there a plenty enough howto's around, howto enable it.
1. Add the following to your Apache configuration (mod_rewrite module need to be loaded). Also addept here the path to your phpfspot installation.
RewriteEngine On RewriteRule ^/photoview/(.*)$ /var/www/phpfspot/index.php/$1 RewriteRule ^/photo/(.*)$ /var/www/phpfspot/index.php/$1 RewriteRule ^/tag/(.*)$ /var/www/phpfspot/index.php/$1
2. in phpfspot_cfg.php, set the parameter $user_friendly_url to "true"
3. now you can address phpfspot like this
- display single-photo view, latest version
/photoview/{id-of-photo}
- display photo in original width, latest photo version
/photo/{id-of-photo}
- display photo in requested width, latest photo version
/photo/{id-of-photo}/{width}
- display photo in requested width for requested photo version
/photo/{id-of-photo}/{width}/{version-id}
- photo-index of the specified tag (id) - a specific page can be selected by {page}
/tag/{id}/{page}
I want to get the lastest development trunk!
You can check it out of the GIT repository via:
git clone http://git.netshadow.at/phpfspot.git/
Some tips
- Convert NEF (Nikon RAW format) to JPEG with EXIF meta-data - http://www.howtofixcomputers.com/forums/digital-photo/my-humble-contribution-wrapper-script-dcraw-linux-4360.html