diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-05-07 01:18:31 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-07 01:18:31 +0000 |
commit | fc6bdbbbc829b38c020c190e06e3fe5892bac1a0 (patch) | |
tree | 8b8bd0282cf341b8626bdf0be8e99af5f203d1b6 /core/helpers | |
parent | 934bc1e1f15405e7c4adb9d5bf59bad7680c5d79 (diff) |
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
Diffstat (limited to 'core/helpers')
-rw-r--r-- | core/helpers/core_installer.php | 1 |
1 files changed, 1 insertions, 0 deletions
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, |