Archive for the ‘info’ Category

Release of open source web gallery phTagr 2.3

February 2nd, 2013 11 comments

phTagr 2.3

I’m happy to announce a new stable version 2.3 of the great open source web gallery phtagr to organize, browse and share your photos!

With phTagr you organize thousands of photos with embedded metadata (write support included). You can use advanced filters to enjoy a specific subset of your photo library. You control your files on your web server or install the gallery at home.

Download: (ca 5.5 MB)
Demo: Demo gallery

web gallery phTagr 2.3 phTagrs photo explorer phTagrs photo explorer

New features since 2.2.1

  • Fix support for PHP 5.4 und runs unter Windows (tested with WAMP)
  • Add drag’n’drop HTML5/Flash upload via plupload (see video)
  • Faster meta data processing via Exiftool (Damain Popescu)
  • Geo maps uses OpenLayer (Patrick Georgi)
  • Support of XMP sidecar file
  • Play icon watermark on video preview files (Jon Reynolds)
  • Add search term similar: to improve quick search
  • Search terms support are now optional, required, or excluded
  • Date search terms from: and to: support YYYY-MM and YYYY format
  • Some search terms support any or none value (See SearchParameter documentation)
  • Media selection in Explorer supports CTRL and SHIFT
  • Add different explorer views compact and mini
  • Add mobile version switch to default theme (see blog entry)


  • New Russian translation from Eugene Pazhitnov
  • New Hungarian translation from Ádám Majoros
  • Updated Polish translation by Piotr Skiba
  • Improved German translation by Patrick Georgi

Under the hood

  • Exiftool uses process pipes with -stayOpen option if available to speedup meta data read and write (Thanks to Damain Popescu)
  • Improve import speed for gps logging format GPX
  • Meta data is stored in one table fields instead of three tags, categories, and locations. This simplifies the meta data handling in query speed and complicity. Also, it allows to extent phTagr for new future field such people quick and easy.
  • Update HTTP_WebDAV_Server to 1.0.0RC7 from PEAR
  • Upgrade phpThumb library to 1.7.11 and fix phpThumb rotation parameter bug
  • Update GetID3 library to 1.9.4b1-20121005
  • Upgrade database migration plugin


  • Documentation website was polished
  • Fix image resizing for IE8
  • Fix MediaRSS to work with JustPictures! android app
  • phTagr’s slogan is now ‘Organize, Browse, and Share Your Photos’
  • Improve search term (breadcrumb) autocompletion
  • Simplify explorer’s top menu
  • Media ‘select all’ and ‘invert select’ moved to explorer top menu
  • Fix call-by-reference for php 5.4
  • Add SASS compiler workaround for PHP 5.4 (SASS compiler works only with 5.3)
  • Add rotation reset option
  • Boost query speed for exclusion by using NOT IN with subquery
  • Renamed RSS menu for groups to Links
  • Localize email views

Thanks for your support and your help!

Please consider HowToUpdate when you are upgrading. For installing please visit HowToInstall

Categories: announce, info Tags:

New Features: Meta data processing and geo map

January 20th, 2013 Comments off

I would like to announce some cool new features of web gallery phTagr.

First of all Damian Popescu improved the meta data processing with exiftool so that the reading and writing of meta data is faster than ever. Hi added also support of XMP sidecar files. Therefore, the meta data does not have to be written to the original files anymore and the common Adobe’s XMP meta data format can be used. I’m very excited about this great feature! It was a tricky job which he has done very well.

Further, I’m very happy to inform you, that Patrick Georgi improved the geo map for phtagr. phTagr uses now the OpenLayer.js, a javascript framework for different map providers. phTagr now uses Google Maps version 3 which does not requires an API key anymore. Other map providers might follow.

Jon Reynolds did watermarking video previews which shows a lighten play icon. Identifying videos is now more obvious than before.

Last but not least phTagr supports now the Hungarian language from Ádám Majoros and Eugene Pazhitnov contributed the Russian language.

Please update your code and drop a line if you discover some annoying behaviors. If you like to stay up to date please use git to update your phtagr code smoothly

Categories: info Tags:

Свободная веб-галерея phtagr теперь на русском

January 17th, 2013 Comments off

Wow! The second languages contribution this week! I’m thrilled! The open source web photo gallery got its Russian translation, thanks to Eugene Pazhitnov. Eugene enjoys phtagr and says:

Thanks a lot for a web gallery that perfectly fits all my needs! Just finished importing of all my collection from NAS and found it very convenient to set tags, categories and rotate the photos made by older camera.

@Eugene: Thanks and thank you for your contribution!

Homescreen in Russian

As always, please update your code to use the new language Russian. And if your language missing or incomplete please visit the How To Translate Wiki page for further information. There you will find how to create or update a language of the muti user webgallery phtagr.

Categories: info Tags:

phTagr Magyarul Válaszol

January 14th, 2013 Comments off

I’m very glad to announce that Ádám Majoros has added the Hungarian translation to phTagr. Hi did a great work! Please update your code to get the Hungarian language.

Homescreen in Hungerian

Is your language missing or incomplete? Please visit the How To Translate Wiki page for further information. There you will find how to create or update a language of the php gallery phtagr.

Categories: info Tags:

Faster and Better Search Support

November 3rd, 2012 Comments off

Just a short update! The free image gallery phtagr got some awesome changes regarding the media searches. The most exciting feature is the support of inclusion, optional and exclusion search terms.

As usual for the search /tag:flower/tag:tree/category:nature/location:-germany the terms flower, tree, and nature are required (AND operation). The location must not have germany.

If you change the term category:nature to category:+nature the search becomes different. For /tag:flower/tag:tree/category:+nature/location:-germany the terms flower and tree become optional and do not need to match. The category nature is now required and the location must not have germany. Therefore, the plus sign changes the search term from optional to required. The result is ordered by the hit count of the search terms. Media with tag flower and tree are higher ranked as media with only a flower tag. Media without tags flower and tree are shown at least.

To get an optional search you can use /tag:flower/tag:tree/category:nature/location:-germany/operand:OR and at least one of the terms flower, tree, and nature must exist while germany is excluded.

With this change you can query your media set faster and easy to the desired sub set.

The second great change is a database schema change. Previously, phtagr used for tags, categories and locations two tables each (e.g. one table to hold the tag name and one to store the tag assignment to images). The sql query building was complex and slow to support inclusion and exclusion of search terms. Now these 6 tables are unified to two tables and simplifies the query building and reduced the execution time.

If you upgrade, open phtagr/setup in your browser to trigger the automatic database upgrade (and it does not hurt to keep a database backup before upgrading). Further, depending on your size of phtagr installation, this database migration might consume some time and memory. Some limit adaptions need to be done to php.ini if the upgrade does not work in the first run. I needed to increase my memory limit from 128M to 256M (memory_limit = 256M) in my /etc/php5/apache2/php.ini to migrate 2643 fields with 90203 media assignment of 20725 photos.

[update 2012-11-09]The query speed for search term exclusion was recently optimized to handle exclusions in seconds for 20k media instead of several seconds. The exclusion is done via a NOT IN () in WHERE condition block with a subquery.[/update]

The newest tarball could be downloaded from sourceforge as usual. Or try the demo gallery with location:+italy/category:vacation/location:lecce/category:-screenshots!

Categories: info Tags:

Release 2.1.3

January 14th, 2011 1 comment

I’m proud to announce the release of phtagr version 2.1.3

You can download the new version from sourceforge  at Sourceforge. Read How To Migrate for migration help.

Here are the improvements since 2.1.2

  • Bread Crumb Search The search term is splitted into single search bread crumbs. The search crumbs simplifies the customization of the search
  • Fast preview file responder Now the images are loaded faster and are fast as hell. It by-passes the MVC CakePHP framework stack based on the HTTP session
  • Translations Added Estonian (Craig), Polish (Bartosz Fenski aka fEnIo), Italian (Francesco Piraneo G) translation
  • Mobile Device Support If your are open the gallery with your mobile device a new customized mobile theme is loaded automatically.
  • Email Notification Add email notification for new media which could be triggered by cron job. The notification interval could be set from half an hour to once a month
  • Improved Group Handing The creation and managing of groups is simplified which makes the gallery more social. Try it!
  • SMTP Configuration You can now configure your own SMTP configuration in app/config/core.php to enable email functionality to your web gallery
  • Improved the preview manager. Now a preview might depend on the next larger preview and a preview is not always calculated by the original file which saves a lot of time for smaller previews.
  • Add interval search in the explorer. If you already set a time limit of your search you can easily add another time bound for an interval search.
  • View media based on upload path
  • Add sync shell task to sync all media at once (console based)
  • Add fallback of image size. In rare cases the image size could not extracted correcly. Now getimagesize() should fix this gap.
  • Auto completion for tag, category, and location – also in bread crumbs.
  • And lots of bug fixes…

The next release should get a face lift with a backend and easy customizable frontend – besides tagging, sharing and searching improvements 🙂

Stay tuned!

Categories: announce, info Tags:

phtagr risponde in italiano

January 3rd, 2011 Comments off

Happy New Year to All!

By today phTagr has now an Italian translation – thanks to Francesco Piraneo G. for his great contribution. The newly updated zip file could be downloaded from SourceForge.

If your language is missing, see How To Translate in the wiki.


Categories: info, user Tags:

Free Online HTML and PHP Editor for CakePHP

December 11th, 2010 Comments off

Baker – The Simple and Free Online Source Editor for CakePHP is published! Baker is a basic online text editor to write text, HTML, or PHP server files online. It’s a CakePHP application and you can do most basic text editor operations.

You can view syntax highlighted source files or edit them. Create, copy, rename, move and delete of files and directories are supported, too. You can upload files and extract ZIP archive. Baker has everything of your need to have a quick change of your PHP or HTML source code.

Baker’s Core Features

  • Syntax highlighting of PHP and HTML files (through Geshi, thanks to Mark for his plugin)
  • Create, Edit, Copy, Rename, Move, Delete files and directories
  • Upload files
  • Extract ZIP archive on server side
  • HTTP User Authentication
  • Filter file list
  • Different virtual directory roots

You can visit the demo page at or download the source from GitHub. Screenshots are available here. See here for installation instructions.

Feel free to use it and to modify it.

Baker was very useful when I developed on phTagr, the free social web gallery, while being in a Internet café far far away with a slow Internet connection. I would love if someone adds SkyWrite Editor (AKA Bespin) to it. For sure Code ‘n Run is more fancy, but it’s not free and coding is fun 🙂

Baker - The Simple and Free Online Source Editor for CakePHP

Directory actions with move, copy, and delete

Syntax Highlighting in the View Mode

Categories: cakephp, info Tags: ,

phTagr spricht Deutsch!

May 8th, 2010 Comments off

Since r523 phTagr supports multi-languages and supports initially German besides English. A new wikipage describes how to create translations for your language. Please do not hesitate to contribute to this great project and send your language files to translation [AT]

Thanks to cakePHP which has a build in language detector. If phTagr supports the language of your browser, phTagr will answer in your language.

Categories: info, Related Links, user Tags:

phTagr runs on free web hoster!

January 9th, 2010 Comments off

I was just curious if phtagr runs fine on a free web hoster. And yes – it does and does a great job! This entry shows how you can setup your own photo web gallery – totally for free!

I chose the free hoster which comes with

  • Spam and ads free
  • 1,6 GB free storage
  • PHP
  • MySql database

… so all I need for running the gallery.

I signup at for the free account, entered my new domain (of cause I choose the name phtagr), entered my name, email, and address. Then a captcha – success, I am human. After a few seconds I received an confirmation email with my new web space, username, password for the cPanel, and FTP.

Signup for a free web space at

So login to cPanel  for creating a mysql database – called phtagr, which becomes phtagrme_phtagr.

cPanel of

Successfull creation of a MySQL database

Successfull creation of a MySQL database

In the meanwhile I downloaded the latest phtagr source (r505) and extracted it locally. After doing that I was uploading it via FTP (FileZilla) the provided www directory of my new webspace.

Upload phtagr via FTP with FileZilla

Upload phtagr via FTP with FileZilla

Now its time to setup the new gallery! I opend the setup page of and followed the instructions. Everything worked fine. The connection to the database and the admin user creation had no problems.

Setup welcome screen

Setup welcome screen

Setup of database connection

Setup of database connection

Setup of admin account

Setup of admin account

I skipped these optional step

I skipped these optional step

As test images I used the screenshots which I did so far. I zipped them, uploaded the zip archive and imported the files after successful upload. Now it was time for some tagging.

Successful upload and extraction of the zip archive

Successful upload and extraction of the zip archive

Some tagging within the photo explorer

Some tagging within the photo explorer

The home page of phtagr

The startup page of phtagr

I wanted also to geo tag some images so I created a new google maps key (you need a google account for it) for the gallery URL The key was entered in the System -> Commands and now I was able to geo tag, too!

Entering the new key for google maps

Entering the new key for google maps

Geotagging with google maps

Geotagging with google maps

And as last test I did a WebDAV connection with cadaver to That worked, too!

WebDAV connection to gallery

WebDAV connection to my gallery files

So all in all it made lots of fun seeing this great gallery running on a free web hoster. You can upload your photos, tag them – also with geo location, see your images in the build-in slideshow, add other users with there upload quota, etc.

When do you install your own phTagr?

You can see all screenshots at the demo page or some screenhost at

PS: What does not worked well was an initial setup at where the database connection was not working for some reasons. Also the sending of email did not work out of the box at