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
This commit is contained in:
Bharat Mediratta
2009-05-07 01:18:31 +00:00
parent 934bc1e1f1
commit fc6bdbbbc8
4 changed files with 21 additions and 1 deletions
+6
View File
@@ -17,6 +17,12 @@
<td><?= $item->name; ?></td>
</tr>
<? endif ?>
<? if ($item->captured): ?>
<tr>
<th><?= t("Captured:") ?></th>
<td><?= date("M j, Y H:i:s", $item->captured)?></td>
</tr>
<? endif ?>
<? if ($item->owner): ?>
<tr>
<th><?= t("Owner:") ?></th>