From fc6bdbbbc829b38c020c190e06e3fe5892bac1a0 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 7 May 2009 01:18:31 +0000 Subject: Grab photo capture date and captions from EXIF/IPTC data. - Add a "captured" column to the items table. - Pull the DateTime EXIF field and put it into the captured column - Pull the Caption EXIF & IPTC fields and put them into the description field if there was not already a value there --- core/helpers/core_installer.php | 1 + 1 file changed, 1 insertion(+) (limited to 'core/helpers/core_installer.php') diff --git a/core/helpers/core_installer.php b/core/helpers/core_installer.php index 8775cafe..a933762a 100644 --- a/core/helpers/core_installer.php +++ b/core/helpers/core_installer.php @@ -51,6 +51,7 @@ class core_installer { $db->query("CREATE TABLE {items} ( `album_cover_item_id` int(9) default NULL, + `captured` int(9) default NULL, `created` int(9) default NULL, `description` varchar(2048) default NULL, `height` int(9) default NULL, -- cgit v1.2.3