Add uploader to photo view.

This commit is contained in:
Aaron committed 2017-11-09 17:00:35 +01:00
1 parent 5b7099e0e5
commit 09a662b4eb
2 files changed
+10 -1

No files matched your search

+5 -1
View File
@@ -96,9 +96,13 @@ class PhotoPage extends SubTemplate
<dt>Date Taken</dt>
<dd>', date("j M Y, H:i:s", $this->exif->created_timestamp), '</dd>';
echo '
<dt>Uploaded by</dt>
<dd>', $this->photo->getAuthor()->getfullName(), '</dd>';
if (!empty($this->exif->camera))
echo '
<dt>Model</dt>
<dt>Camera Model</dt>
<dd>', $this->exif->camera, '</dd>';
if (!empty($this->exif->shutter_speed))