IPTC/EXIF writing more fields to the Database

sammael

Joined: 2009-11-16
Posts: 9
Posted: Tue, 2009-11-17 14:05

Hi there!

I am customizing my gallery2 and i am searching for help. I want to write some IPTC Infos to the DB. I found a tool (Admin -> Performance -> Refesh Capture Dates) that updates a EXIF field in the DB (?). So i want to adapt this to write a new tool which should update a new databasefield called g2_copyright in the g2_item table.

Where can i find this code/file?

If someone can share a resultion it would be awesome otherwise i try to do it and post my code here.

thx

 
sammael

Joined: 2009-11-16
Posts: 9
Posted: Mon, 2009-11-23 17:12

Hi!

I just finished my custom Searchengine, now i want to add the Copyright (IPTC) into the DB. I made a new field g_copyright in g2_items table and it is ready to search for, but how can i fill it with the IPTC/EXIF Copyright Information? It has to be, when i add a new picture. I found ExIFDescriptionOptions.inc. Is this the right file to extend?

i have Gallery2 2.3

Thx!