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/css.php | 5 +++++ views/default/tidypics/exif.php | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'views/default/tidypics') diff --git a/views/default/tidypics/css.php b/views/default/tidypics/css.php index 198bf4643..3ade75ff4 100644 --- a/views/default/tidypics/css.php +++ b/views/default/tidypics/css.php @@ -63,6 +63,11 @@ display:inline; padding:20px; } +#tidypics_exif { +padding-left:20px; +font-size:80%; +} + .tidypics_album_images { float:left; width:153px; 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