Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Delegate Keyword Modifiers  (Read 4495 times)

0 Members and 1 Guest are viewing this topic.

PatCPG

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Delegate Keyword Modifiers
« on: July 18, 2014, 07:19:25 am »

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!
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Delegate Keyword Modifiers
« Reply #1 on: July 18, 2014, 10:19:40 am »

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:
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.
Logged

PatCPG

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Delegate Keyword Modifiers
« Reply #2 on: July 22, 2014, 04:38:48 am »

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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Delegate Keyword Modifiers
« Reply #3 on: July 22, 2014, 02:20:56 pm »

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.
Logged

PatCPG

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Delegate Keyword Modifiers
« Reply #4 on: July 22, 2014, 07:47:30 pm »

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?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Delegate Keyword Modifiers
« Reply #5 on: July 23, 2014, 09:30:02 am »

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).

Logged

PatCPG

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Delegate Keyword Modifiers
« Reply #6 on: July 24, 2014, 01:11:12 am »

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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Delegate Keyword Modifiers
« Reply #7 on: July 25, 2014, 10:46:25 am »

Feel free to add it.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.