mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-31 12:10:51 -04:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user