diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2012-12-27 20:31:26 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2012-12-27 20:31:26 +0100 |
| commit | 9024ebb192d2ecdd2305a3ff3fbb54481035bd08 (patch) | |
| tree | 54f50b6a9094892fb1e8942b5c47590e822e251a /templates | |
| parent | d0599f8ab5c38e14845407dea4eef4d4957f9e28 (diff) | |
| download | cataract-9024ebb192d2ecdd2305a3ff3fbb54481035bd08.tar.xz | |
Add support for EXIF Canon Camera temperature
For the moment we're using Exif.CanonSi.0x000c key from Exiv2 namespace
since it's an unknown tag to it. This may need little tweaking in the
future when proper naming becomes upstream.
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/template_picture.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/template_picture.html b/templates/template_picture.html index d164b6d..9d0e92c 100644 --- a/templates/template_picture.html +++ b/templates/template_picture.html @@ -57,6 +57,9 @@ <tr><td>Aperture value: </td> <td><!-- $(get_exif_value_fixed("Exif.Photo.FNumber")) --></td></tr> <tr><td>Exposure time: </td> <td><!-- $(get_exif_value_fixed("Exif.Photo.ExposureTime")) --></td></tr> <tr><td>Flash: </td> <td><!-- $(get_exif_value_fixed("Exif.Photo.Flash")) --></td></tr> +<!-- $(if (has_exif_key ("Exif.CanonSi.CameraTemperature"))) --> + <tr><td>Camera temperature: </td> <td><!-- $(get_exif_value_fixed("Exif.CanonSi.CameraTemperature")) --></td></tr> +<!-- $(endif (has_exif_key ())) --> </tbody></table> <!-- $(else(HAS_EXIF)) --> <div class="no_exif"> |
