Admin-defined keywords only? Admin-defined keywords only?
 

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

Admin-defined keywords only?

Started by UK_CJ, June 06, 2006, 11:50:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

UK_CJ

I am implementing Coppermine as the photo gallery for my company's website. Our customers send photos of themselves wearing our products (kilts), and we publish those photos on our website.

New and potential customers can come and see the photo galleries. This is our primary form of advertising/marketing.

With Coppermine, I want the customer to have a list of pre-defined keywords to choose from when they upload their photos. (The Keywords would be the 7 product names, colors, and the type of event they are at... like Highland Games, St. Patrick's Day Parade, etc.) I do not want the customer to enter any keywords by hand, because they could enter all kinds of weird stuff for keywords.

Is there a (relatively) easy way to change the Keywords text box to a pre-defined list of checkboxes?

(By the way: I saw there was one other message in this group that was similar, but not the same as mine.)

Thank you for your time!
- CJ

Joachim Müller

Haven't looked into this in detail, but I guess you'd have to modify upload.php and change the type of the input field for the keywords from "text" to "hidden". This way, only the choice from the list is possible.