In: , ,
On: 2004 / 12 / 10
Shorter URL for this post: http://ozh.in/3r

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 !

Shorter URL

Want to share or tweet this post? Please use this short URL: http://ozh.in/3r

Metastuff

This entry "Hacking with Coppermine Keywords" was posted on 10/12/2004 at 12:32 am and is tagged with , ,
Watch this discussion : Comments RSS 2.0.

4 Blablas

  1. Coco says:

    Verry cool Thanks a lot

  2. Jonathan J. says:

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

    Jonathan

  3. adbug says:

    非常感谢!!
    THX

  4. Kal says:

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

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
Gravatars: Curious about the little images next to each commenter's name ? Go to Gravatar and sign for a free account
Spam: Various spam plugins may be activated. I'll put pins in a Voodoo doll if you spam me.

Read more ?