From 6f0b21b11f8711ef425069b277a1c743202174a7 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sun, 15 Apr 2012 22:39:24 +0200 Subject: Add HAS_EXIF define This brings a new HAS_EXIF define which is present when EXIF information are available. Templates have been modified to inform user when not available. The test for EXIF metadata presence is fairly basic, we only look for aperture, focal length and exposure time attributes. This might be a subject to change in the future. --- templates/styles.css | 4 ++++ templates/template_picture.html | 12 ++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/styles.css b/templates/styles.css index b96f19f..ea337f9 100644 --- a/templates/styles.css +++ b/templates/styles.css @@ -175,6 +175,10 @@ div.exif td { font-weight: bold; } +div.no_exif { + padding: 1em 0 0 2.6em; + font-size: 80%; +} /****** GENERAL CLASSES ******/ div.position_marker { diff --git a/templates/template_picture.html b/templates/template_picture.html index 07c79ec..d164b6d 100644 --- a/templates/template_picture.html +++ b/templates/template_picture.html @@ -20,7 +20,9 @@ < Previous :: Next > - + + + @@ -45,7 +47,8 @@
:: Show EXIF -- cgit v1.2.3