Edit IPTC Data on server? Edit IPTC Data on server?
 

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

Edit IPTC Data on server?

Started by lamama, April 14, 2006, 02:21:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lamama

Does anyone know a tool (Linux, via commandline) or maybe a PHP Script to edit the IPTC Data of Pics that are already on the server?

(I just discovered CPGs amazing ability to read keywords out of IPTC, but most of my pics are on the Server and tagging pics with  CPG is no fun)

Joachim Müller

I recommend downloading the entire albums folder to your client, modifying them as needed and re-uploading them. However, you will basically need a tool that re-reads the data from the files.
This is a coppermine-related question, and it's not related to phography, so it doesn't belong here. Post your coppermine version (or a link to your coppermine gallery). A moderator will then move this thread accordingly.

lamama

QuoteThis is a coppermine-related question

Sorry, but I guess it's only partially CPG-related, therefore I put it here.
It's about a piece of software that runs on a Linux server (via Shell or Browser) to edit the IPTC Data. So it's more related to the Photographs than to a specific kind of gallery software like CPG.  ::) 

I didn't want to make a "feature request" out of it, because the actual webinterface of CPG ist not really helpful for mass-tagging of pics, regardless if those tags are kept inside the CPG database or backwitten to the actual pics.

So I chose this place. But anyway, move it to where it belongs.

QuoteHowever, you will basically need a tool that re-reads the data from the files.
CPG can do this, right? I tried and it worked.

QuoteI recommend downloading the entire albums folder to your client
I thought about it. That would be the "hard way" because it's really a lot of data to be transfered.

But maybe someone knows a better way to do it directly on the server...?


Joachim Müller

Quote from: GauGau on April 14, 2006, 09:27:35 AM
Post your coppermine version (or a link to your coppermine gallery). A moderator will then move this thread accordingly.
Please do as I suggested. It's not meant to go into feature requests, but the support board that deals with your coppermine version. That's why we need to know your coppermine version. Please don't make this moderation effort so hard.

lamama

Quote from: GauGau on April 14, 2006, 10:11:07 PMPlease don't make this moderation effort so hard.
???
Anyway, it's 1.4.3

donnoman

Not complete tools, but could probably be made into one if you were so inclined:

http://www.sno.phy.queensu.ca/~phil/exiftool/

http://at.php.net/iptcembed

lamama

thanks, donnoman!

The first one looks useful.

Via the php.net site I found this link: http://www.zonageek.com/software/php/jpeg/index.php

QuoteDescription
Image/JPEG is a PHP package (PEAR style) to read and manipulate metadata in jpeg files.

So far it can parse the file structure, providing access to the raw data of each block. It can also understand EXIF and IPTC blocks, allowing both read and write of metadata.

For the moment I can't make much use out of it (not enough time and experience), but  if someone round here want's to write a litte mod for cpg, this functions probably could be as useful as they looked to me. :)

donnoman

I really do like the idea of Coppermine caching exif/iptc data, and being able to write iptc data back to images.

It would turn coppermine into a really slick image management system, or at least not COUNTER to using one.  Your work wouldn't have to be duplicated, and you could take those images that were prepared with coppermine to some other system.

I like it, perhaps it's a feature that I'll work on as a plugin. 

lamama

Quote from: donnoman on April 23, 2006, 01:51:38 AM
I like it, perhaps it's a feature that I'll work on as a plugin. 

Sounds good  :)
I'm looking forward to it.

yakand

Photo Mechanic by Camera Bits is one of the industry standards software for adding/editing IPTC fields.

Joachim Müller

not related though, as this thread deals with IPTC data on the server, not on the client.

nasiri

getting to the finish line, worked some time on this, will get to a final stage soon.
regards
Nasiri Media
Web Development in Münster / Germany

http://www.nasiri.com