coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: trifin on September 12, 2004, 08:41:16 PM

Title: Searching...
Post by: trifin on September 12, 2004, 08:41:16 PM
Hi,

Currently viewers of my gallery can use a code number to search the gallery.  This is code number part of the file name. 

For example: file name trifin_01 - if you search for trifin you will find that file. I wish to enhance the search facility.  In my example the photo trifin_01 actually is a picture of John Doe.  I would like to be able to seach for John or Doe or John Doe and find that file but I do not wish to add that data to the file it would take me too long I have many hundred photos...  So I would like to create a lookup table where John and/ or Doe relates to trifin. 

Is this possible and how?

Thanks.
Title: Re: Searching...
Post by: Joachim Müller on September 13, 2004, 09:15:13 AM
take a look at the custom user fields for image description: http://coppermine.sourceforge.net/manual.php#config_custom , or use the existing field "keywords" for this purpose (in fact it was built just for this purpose).

Joachim
Title: Re: Searching...
Post by: trifin on September 13, 2004, 09:50:17 AM
im sorry if i have think wrong but wouldn't i have to enter more data once i have uploaded the pics if i use 'custom user fields'?

for me to go through each photo and add this information for each photo would be too much work.

in my example: i have hundreds of different shots of John Doe and hundreds of shots of Jane Doe.  I need some sort of look-up table.
Title: Re: Searching...
Post by: Joachim Müller on September 13, 2004, 10:05:20 AM
If you're familar with mySQL queries you could come up with queries to be run in phpMyAdmin that will tag keywords to database entries  if your files have a naming scheme that can be used to clearly identify who's on the pics.

Joachim