From bda141ad119b7d382a8689182edd80aa603c2442 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 21 Jun 2009 12:41:09 +0000 Subject: improved exif code --- views/default/tidypics/exif.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'views/default/tidypics/exif.php') diff --git a/views/default/tidypics/exif.php b/views/default/tidypics/exif.php index d6b455309..525665754 100644 --- a/views/default/tidypics/exif.php +++ b/views/default/tidypics/exif.php @@ -4,8 +4,10 @@ $exif = tp_exif_formatted($guid); if ($exif) { - echo '
'; - echo $exif; + echo '
'; + foreach ($exif as $name => $value) { + echo $name . ': ' . $value . '
'; + } echo '
'; } -- cgit v1.2.3