Delegate Keyword Modifiers Delegate Keyword Modifiers
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Delegate Keyword Modifiers

Started by PatCPG, July 18, 2014, 07:19:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

PatCPG

I have a gallery of sports photography.  There are dozens of events per year, and each event adds 100+ photos.  To make it easier for my audience to find photos of their participants, I would like to delegate certain members to add keywords to photos.  They will not be owners of the photos, simply able to add keywords in as simple of an interface as possible.

Anyone know if this is possible in the base Coppermine package?  If not, can you provide hints for me on making a plugin, or would someone be willing to build it?

Many thanks for your help!

Αndré

Unfortunately that's not possible out of the box. As an alternative to the built-in keywords feature, you could use the annotate plugin (http://forum.coppermine-gallery.net/index.php/topic,60622.0.html). You can set on the plugin config page several permissions for each group.

The plugin currently has no search form, but it's quite easy to create it:
Quote from: Αndré on March 17, 2010, 08:03:56 AM
Currently there is no real search. But there is a meta album 'shownotes', which can be accessed from every annotation.

I created a custom search form, which fits the needs of my personal gallery. It contains a list of all different annotations and you can search for pictures where you tagged person 1 AND person 2. I'm not sure if it's possible to extend the built-in in that way. Alternatively the custom search form could be added to this plugin if desired.

PatCPG

Thank you André!  The annotate plugin will work great! 
Could you tell me more about "meta albums"?  Please forgive my ignorance, but many google searches didn't quite explain how to set them up.

Αndré

In Coppermine, meta albums are used for different views of your pictures. You probably already know them, but just don't know that they are called (or at least the Coppermine dev team calls them) "meta albums".

Some of the built-in meta albums are:
- http://coppermine-gallery.net/demo/cpg15x/thumbnails.php?album=lastup
- http://coppermine-gallery.net/demo/cpg15x/thumbnails.php?album=lastcom
- http://coppermine-gallery.net/demo/cpg15x/thumbnails.php?album=topn
- http://coppermine-gallery.net/demo/cpg15x/thumbnails.php?album=toprated

There's also a plugin which adds more meta albums to your gallery: http://forum.coppermine-gallery.net/index.php/topic,63706.0.html

Regarding the annotate plugin, it also contains new meta albums. All we need is a simple search form where your users can enter the search terms.

PatCPG

Thanks!
I can see the annotated images by going here:  "<my site>/coppermine/thumbnails.php?album=lastnotes"
However, I'm uncertain how to use the "shownotes" meta album.  "<my site>/coppermine/thumbnails.php?album=shownotes" results in an empty results box.  Where in the URL do I place the search terms?

Αndré

Unfortunately you haven't posted a link to your gallery, so I can just demonstrate it on another gallery (it's not my gallery!).

Have a look at this image: http://granbycameraclub.com/gallery/displayimage.php?pid=650
You'll see several annotations. If you click on e.g. the note "waterfall", you'll be redirected to http://granbycameraclub.com/gallery/thumbnails.php?album=shownotes&note=waterfall - which shows all "waterfall" pictures (in this example just that one image).


PatCPG

Thanks again!
I was looking for: /thumbnails.php?album=shownotes&note=searchterm
I'd also like to add that if the note has a space in it, the following works:  /thumbnails.php?album=shownotes&note=search%20term

If you don't mind, I will add this to the annotate plugin's announcement page.

Αndré