I've played around with Coppermine a while and implemented two functions I liked from Pixelpost-Addons I've tried out before.
The Plugin serves two purposes:
- provide Geotag support for Coppermine
- provide histogram suppport for Coppermine
Geotag support:
Upon installation a new table is generated into the coppermine schema. This table holds all the EXIF data from
images it can find. Right now, I'm extracting more data than I use for the geotagging feature. I don't know
yet what to do with them in the future ;-)
The EXIF-Data are pulled from images upon upload. If you want to generate the EXIFs from all the existing
images in your database, a special function is nested inside the Plugin-Manager page.
Upon displaying of an image, it is checked, whether Geotag-Data is inside the plugin's table. If the
required Geodata exists, an icon is displayed that can be clicked to open the location in a
Google Maps view. If no Geodata is available, you can choose to hide the image or display an image without
a link.
Histogram support
If activated a histogram is created upon upload of an image. The settings are fully configurable.
All histograms are stored in the original file directory and have a filename
hist_<coppermine_id><original filename>.jpg
Histograms can be generated upon upload of new images or on demand, in case someone clicks on the corresponding button.
Please try the plugin out and give me feedback. I know it's not completely ready so please, if you encounter any problems, leave a post in this thread and I'll look into it.
Be sure to read the readme for full details regarding configuration.
Regards, Florian
==============================================================================================================
Credits
==============================================================================================================
- This plugin for Coppermine was inspired and is in part based upon "easyMap for Pixelpost" by
http://maximee.de- Credits to Doug Pillow for the geodata conversion algorithm
http://www.weberdev.com/get_example-3548.html- Credits to eenemeenemuu for his fav_button Plugin that showed me how to add buttons to the navbar
- The function to generate the histograms was adapted from the Pixelpost addon by Kevin Crafts
http://blog.kevincrafts.com/- The configuration screen uses the farbtastic color picker by Steven Wittens
http://acko.net/dev/farbtastic==============================================================================================================
v1.9 - Fixed a bug that caused not to show geobutton, if geo-coordinates showed a zero value.
v1.8 - Fixed the bug that geotags were not extracted when using the watermarking feature. This only
works, if the original image is residing in the same folder as the watermarked image.
v1.7 - changed the way displaymap was called for the Google maps to make it similar to the albumview
- Fixed a bug in the config menu regarding a the new parameter.
- Fixed the nasty bug that caused the problems with the swf-uploader. SWF Upload works fine again when my plugins are installed :-)