Archive for May, 2008

How to tag images

May 24th, 2008 Comments off

phTagr works great to organize your local image collection. You can add a local system directory in the ‘Users‘ section to import files directly from your system (alternatively you can upload files using webdav, however WebDAV is not working with the suPHP module). To import files, simply go to ‘My Files‘ and import the files from your directories. Currently only JPEG and video files are supported. exiftool is used to read (and write) the meta data. A call requires lots of time and I recommend not to import more than 120 images at once.

In the ‘Explorer‘ you can tag your images by tag, category, or location. To write the tagged information to the images (using IPTC via the exiftool) you need to click on ‘Synchronize‘ in the ‘My Files‘ section. Within this process the imported files from your system will be modified. As far as I know, exiftool is very save and wont corrupt our images. But you never know – and so it is better to make some backups before!

Should anything go wrong or if you want to know what phTagr is currently doing, just have a look on ./tmp/logs/logger.log in the phtagr directory.

Categories: Related Links, user Tags:

New Demo Page

May 24th, 2008 Comments off

I have just updated the demo page of phTagr. Please feel free to test phTagr with the login demo and password demo08. Go ahead and tag the images in the section “My Images”!

You can also manage the sample images using WebDAV. The WebDAV address is

[update] You can view older screenshots of phtagr when you login with the demo user.

Categories: Related Links, source, user Tags: ,

Google Maps and RSS

May 24th, 2008 Comments off

phTagr supports now Google Maps and RSS feeds! Click here for a demo of the Google Map integration. To enable Google Maps you have to set the Google Maps key in Preference/System from the admin account.

The geo meta data is extracted from new images using Exif tags GPS Latitude and Longitude. I have written a small PHP tool gpssync (available here) which extracts the GPS position of an NMEA file (e.g. from the GPS tracker Sony GPS CS1). It estimates the position by linear interpolation and saves the GPS position using exiftool. Call “./ -g WG20080504135002.log *.jpg” to synchronize the geo positions to your images.

The phTagr image explorer provides now a RSS feed for new (public) images where users can subscribe to it to be informed about new images automatically. You can add the RSS feed (found here) to your favorite RSS reader (e.g. Thunderbird) and wait for new published images. You never need to visit the gallery again to check for new content!

Categories: Uncategorized Tags: , ,

phTagr 2.0 is out

May 5th, 2008 Comments off

In the last couple of months, phTagr was completely rewritten from scratch using the great framework cakePHP. The new version called phTagr 2.0 is much better and faster! phTagr 2.0 supports so far the basic functionality like image uploading via WebDAV, multiple tagging, group based access control, guest account creation.

Short (and maybe incomplete) installation procedure is (on Ubuntu 8.04):

Install required tools (apart from apache2 with rewrite module, php, and mysql):

$ sudo apt-get install ffmpeg flvtool2 imagemagick exif php-pear
$ sudo pear update-channels
$ sudo pear install HTTP_WebDAV_Server-1.0.0RC4

Download the code

$ cd /var/www
$ sudo svn co cake
$ sudo chown -R `whoami` cake
$ cd cake
$ svn co phtagr
$ cd phtagr
$ sudo chown -R www-data tmp users

Now open http://localhost/cake/phtagr/setup in your browser and follow the installation procedure.

Categories: announce, info, Related Links, source Tags: ,