Hacking with Coppermine Keywords

I have written a small hack to play more with a nice feature of Coppermine, the gallery script I am using here : the keywords you give to each picture.

The script adds, to the search page for example, a list of all keywords used, and the number of pictures for each (see my search page). I thought it made keywords very similar to the "tag" feature you have in Gmail or del.icio.us, if that makes sense to you.

The script

Get the hack here :

Right click the .txt, Save as "keywords.php", then drop it in your Coppermine directory, or copy paste the colorized version into a blank file (do not wget the .php, it's colorized html !)

Use it

I suggest you add the keywords list it to your search page. To do so, edit search.php with a raw text editor and add the following somewhere near the end, just before the line pagefooter(); for example :

  1. include('keywords.php');

And now ?

And now, tag'em all !

4 comments

  1. Coco

    Verry cool Thanks a lot

  2. Jonathan J.

    Thank you very much! I've implemented it and it's great! Thanks for sharing and for your adding to Coppermine.

    Jonathan

  3. adbug

    非常感谢!!
    THX

  4. Kal

    great i love this feature
    any way to add it to the template.html page?

Comments are closed.