phTagr 2.1.1 released!

May 8th, 2010 Comments off

I’m happy to announce phTagr 2.1.1 which simplifies the setup and adds multi-language support. As first language German was submitted. You can submit your language to translation [AT] phtagr.org. See How To Translate for further information.

Further, the geo tagging was improved and some minor bugs were fixed.

You can download it from SourceForge (ca. 2.9 MB). Please do not hesitate to report any success story, bugs or feature request. See How To Help for further details.

Following Tickets where solved since 2.1

Setup and Requirements:

  • Fix #6 (Minimum setup requirements)
  • Fix #74 (Automatic setup redirection)
  • Fix #13 (Customizable gallery title)
  • Fix #64 (Add multi-language support (internationalization))
  • Fix #66 (Fallback of getId3 at ImageFilter if exiftool is not available)
  • Fix #67 (Fallback of getId3 at VideoFilter if ffmpeg is not available)
  • Fix #68 (Include required PEAR files to vendor directory)

Explorer: Geotagging

  • Fix #78 (Resizeable Google Map)
  • Fix #79 (Goto address input for geo map)
  • Fix #25 (Current media selection in map)

General:

  • Fix #80 (Show user of random media at home)
  • Fix #81 (User information is droped on date links)
  • Fix #69 (Incorrect import of south and west geo location in ImageFilter)
  • Fix #82 (Place cakeDebug output into html layout)
Categories: announce, Related Links, user 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] phtagr.org.

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:

Resize Control PResizeControl for Google Maps

March 20th, 2010 4 comments



This Google map control adds a dynamic resize function to Google’s map API: You can enlarge or shrink the size of your google map via the resize handle in the right lower corner of the map.

The map control PResizeControl is based on map-in-a-box from Wolfgang Pichler (which bases on Dynamically Resize Google Maps With Mouse). Compared to Wolfgang Pichler’s version it is completed as standalone Google Map control. It also embeds the resize handle image and does not need an external image file (only older IE’s below version 8 could not handle embedded data (But IMHO this is a feature – not a bug!). Further you can resize only the height or widht depending on your configuration. Minimum and maximum of height and/or width is also suppored.


<html>
<head>
<script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key=..."></script>
<!-- Include resize control PResizeControl -->
<script type="text/javascript" src="./presizecontrol.js"></script>
<script>
function initialize() {
  if (GBrowserIsCompatible()) {
    map = new GMap2(document.getElementById("map"));
    map.setCenter(new GLatLng(52.521653, 13.41091), 14);
    // Add resize control PResizeControl with default settings.
    map.addControl(new PResizeControl());
    map.setUIToDefault();
  }
}
</script>
</head>
<body onload="initialize">
<div id="map" style="width: 450px; height: 250px;"></div>
</body>
</html>

Note: The PResizeControl is used in the open-source project phTagr – a social photo gallery for its Geo coding and map display. The javascript file ./presizecontrol.js is extracted from the source of pmap.js of the photo gallery phtagr. Updates of PResizeControl will be commited to the phtagr source.

Variables of PResizeControl

PResizeControl.mode
Resize modes. Possible values are PResizeControl.RESIZE_BOTH, PResizeControl.RESIZE_WIDTH or PResizeControl.RESIZE_HEIGHT. Default is PResizeControl.RESIZE_BOTH
PResizeControl.minWidth
Minimal width of the map. 0 disables the minimum width. Default is 150.
PResizeControl.minHeight
Minimal height of the map. 0 disables the minimum height. Default is 150.
PResizeControl.maxWidth
Maximal width of the map. 0 disables the minimum width. Default is 0 (disabled).
PResizeControl.maxHeight
Maximal height of the map. 0 disables the minimum height. Default is 0 (disabled).

More PResizeControl examples

PResizeControl: Resize Width Only


var resizeControl2 = new PResizeControl();
map2.addControl(new resizeControl2);
resizeControl2.mode = PResizeControl.RESIZE_WIDTH;

PResizeControl: Resize Height Only


var resizeControl3 = new PResizeControl();
map3.addControl(new resizeControl3);
resizeControl3.mode = PResizeControl.RESIZE_HEIGHT;

PResizeControl: Minimal Size


var resizeControl4 = new PResizeControl();
map4.addControl(resizeControl4);
resizeControl4.minWidth = 450;
resizeControl4.minHeight = 250;

PResizeControl: Maximum Size


var resizeControl5 = new PResizeControl();
map5.addControl(resizeControl5);
resizeControl5.maxWidth = 450;
resizeControl5.maxHeight = 250;
Categories: Related Links, source, tools Tags: , , ,

phTagr supports OpenShare Network

January 9th, 2010 Comments off

phTagr joined the OpenShare network which is the first free banner exchange service targeted at open and free source project. The idea is great but simple: You advertise other open source projects – the others advertise your project.

phTagr needs reputation and/or publicity – OpenShare seems to be a fair and great opertunity. Thank you OpenShare and good luck for your idea!

PS: If you know another way how to promote this great project, please speak up!

Categories: Related Links 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 megabyet.net 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 http://megabyet.com/signup.php 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 megabyet.net

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

cPanel of megabyet.net

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 http://phtagr.megabyet.net/setup 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 http://phtagr.megabyet.net. 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 http://phtagr.megabyet.net/webdav. 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 megabyet.net.

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

Eliminated Software Requirements

January 5th, 2010 Comments off

I am happy to announce with revision r505 that the software requirements are finally reduced to a minimum! phTagr requires now only a basic LAMP:

  • Webserver (tested with Apache)
  • PHP (tested with PHP5)
  • GD or ImageMagick
  • database engine (tested with mysql)

This change improves and simplifies the initial steps to run this great gallery! Further, the installation documentation was updated and improved.

exiftool and ffmpeg are no longer required to run the basic operations. Further the dependend PEAR libraries are now included into the software. The new version could be downloaded as  ZIP archive or TAR ball – happy  testing.

Without exiftool the meta data like tags, categories or geo location are imported from photos but not be written back to them. Without ffmpeg only flash movies could be imported. If you have ffmpeg other video formats are supported and the videos are automatically converted from AVI, MPEG or MOV to the flash file format. ffmpeg also creates the a video preview. If now preview exists a default image is shown.

Version 2.1 Released!

December 27th, 2009 Comments off

I am proud to release version 2.1. The new version comes with lots of features, improvements and bug fixes. It looks better, is more sexy and it rocks!

Download it now!
(TAR.GZ 2.0 MB | ZIP 2.6 MB)

New since v2.0:

  • User comments with email notifications
  • Geo Tagging (via Google Maps)
  • HTML upload with extracting zip archives
  • Build in slideshow via PicLens light
  • RSS, mediaRSS, RSS for comments
  • Technical image info like shutter speed, aperture, ISO, camera model
  • Anonymous user registration
  • Improved Homepage with recent media and comments
  • New database schema with splitted media and files (see merged-branch-phtagr-media-schema)
  • Quick Search (thanks to martin)
  • Authenticated links for users and guests
  • Improved file browser
  • Tabbed input
  • New FilterManager to handle different media like images, videos and GPS logs
  • New Pagination component with exclusions
  • Static Logger
  • Updated Flowplayer to 3.1.4
  • Media view count
  • Much much more and of course lots of bug fixes

Also:

  • First Plugin DupFinder is available to find and merge duplicate media
  • Since version 2.0 we have also a documentation and ticket system at http://trac.phtagr.org

It is recommended to upgrade to version 2.1 since you don’t want to miss the new features! Please upgrade your database schema with the provided shell script upgradeMediaSchema.

Categories: announce Tags:

Geo Tagging

October 21st, 2009 Comments off

phTagr supports now (simple) geo tagging of the media. Input fields where added to the meta data form and the latitude and longitude values could be entered directly. Additional, the google map shows the current location of the center which could be used through copy’n’paste for the geo input.

So select an image with geo location, open the map and center the map to the location for the new media. Copy the location below the map and insert it into the geo input form.

Happy Geo Tagging!

Update 2009-11-03: A context menu was added to help to navigate through the map, which is opened by the right mouse click. It adds following actions: Zoom in, Zoom out, Zoom in here, and Center here. Especially the last action is helpful to find the correct position!

Categories: user Tags:

Photo Resizer

August 21st, 2009 Comments off

Recently I looked for a nice and easy photo resize tool to downsize a heap of photos under Windows and found the coolest tool ever: Picture Resizer.

It is only 300k small and has an indirect parameterisation for the resize command. All parameters are given in the filename of the tool itself. You download the tool and rename according to the documentation.

E.g. Rename it to PhotoResize1280MSQ85O.exe and move the desired JPEGs per drag’n’drop over the exe file – done. The commands in the name say: resize the photos to maximum of 1280 pixels, copy the Meta data, with the Quality of 85% and doesn’t wait for the enter (O).

Than zip all resized pictures and upload the zip archive to the phtagr gallery. (And later I will merge the previews to the original photos with the DupFinder plugin.)

Awesome.

Categories: tools Tags: , ,

Welcome page redesigned

August 14th, 2009 Comments off

Recently the welcome page of phtagr was redesigned and is now more responsive.

The tag and category clouds are moved down whereas a random picture and a couple new media are shown on the top.  These changes are more informative for new and old visitors who want to know whats going on.

Go have a look!

Categories: Related Links, user Tags: