META DATA

rasheid

Joined: 2004-08-31
Posts: 28
Posted: Thu, 2004-09-02 21:25

Is there anyway to get the meta data from a photo to be pulled into a database as well?

This would be pretty kew.

-rasheid

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Fri, 2004-09-03 19:33

What type of meta data are you talking about EXIF or IPTC? I know EXIF can be displayed. I'm not sure about IPTC since I don't use it.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2004-09-04 00:45

I'm planning on adding an IPTC module that does two way sync between the G2 database and your images. That is, when you add an image to G2 it can pull metadata from the image into the database, and then whenever you modify the image in G2 it can sync the data back into the image. Stay tuned.

 
rasheid

Joined: 2004-08-31
Posts: 28
Posted: Tue, 2004-09-07 13:50

Thanks for the quick reply. The IPTC Meta data is exactly what I am after. Please let me know how you make with this and if there is anything I can do for you.

 
rasheid

Joined: 2004-08-31
Posts: 28
Posted: Tue, 2004-09-07 17:29

I found this

IPTC

IPTC data holds textual info about categories, headers and descriptions. They can be entered e.g. in Adobe Photoshop's File Info dialog. EE will get image descriptions, headers and locations etc. from IPTC, if that data is available and if IPTC module has been installed in PHP.

at this link:
http://photography-on-the.net/ee/beta/setup_upload_system.php

I don't know if this helps at all

-rasheid

 
rasheid

Joined: 2004-08-31
Posts: 28
Posted: Tue, 2004-09-07 17:31

I also found this here.

http://multipart-mixed.com/photo/iptc.html

-rasheid

 
rasheid

Joined: 2004-08-31
Posts: 28
Posted: Tue, 2004-09-07 17:59
 
rasheid

Joined: 2004-08-31
Posts: 28
Posted: Tue, 2004-09-07 18:00

Example 4.

getimagesize() returning IPTC
<?php
$size = getimagesize("testimg.jpg", $info);
if (isset($info["APP13"])) {
$iptc = iptcparse($info["APP13"]);
var_dump($iptc);
}
?>

 
Mankind75

Joined: 2004-06-22
Posts: 1
Posted: Fri, 2004-10-01 13:03

Coppermine (http://coppermine.sourceforge.net) and 4Images (http://4homepages.de) also have IPTC support. Of all photo galleries I like "gallery" best please add IPTC.