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 |
|
Posts: 808
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.
Posts: 7994
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.
Posts: 28
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.
Posts: 28
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
Posts: 28
I also found this here.
http://multipart-mixed.com/photo/iptc.html
-rasheid
Posts: 28
found this one in PHP
http://php.planetmirror.com/manual/en/function.iptcparse.php
Posts: 28
Example 4.
getimagesize() returning IPTC
<?php
$size = getimagesize("testimg.jpg", $info);
if (isset($info["APP13"])) {
$iptc = iptcparse($info["APP13"]);
var_dump($iptc);
}
?>
Posts: 1
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.