Plugin to add personal data to picture Plugin to add personal data to picture
 

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

Plugin to add personal data to picture

Started by jimmyg0801, April 24, 2012, 11:36:12 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

jimmyg0801

My pictures are of people (i.e. models). The people (models) in the pictures have important information (i.e. name, address, telephone, email .. etc). Note that models are not users. They are subjects in the picture with information. I would like to create a plugin that adds a "Model_ID" to the pictures table which is a key to "Model_Info" table. Is this a resonable thing to do with a plugin? I use the Coppermine database (read-only) in my custom website and the Coppermine theme for populating/editing the database.

Sorry if this is the wrong place to post this.

Αndré

What's your actual question? You can add the model ID to any default or custom field and then use that value to load the model's information.

jimmyg0801

I see "owner_id" which would be me (the photogapher) and "user1-4" which I'm not sure what they're used for. To me, adding an addition field "model_id" as an index to a model table is very clean. I can do this manually I assume and not interfere with the Coppermine application at all. I just thought a plugin to create the extra field and the additional database table would be cleaner in the long run.

Αndré

Default fields are:
- title
- description
- keywords

Custom user fields are
- user1
- user2
- user3
- user4

Not sure why you want to add even one more column to the database, as the user fields do exactly what you're asking for. You can enable them in the config.