diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2012-04-15 21:44:31 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2012-04-15 21:44:31 +0200 |
| commit | 713c2d86d9335a9c681357254d4bc4f817626259 (patch) | |
| tree | c4cabe1b7dcf1d2f192fdcfc68d35e242305c949 /sample/src | |
| parent | c5f23c17a14bbe07042f46be90fe2b2e465436c7 (diff) | |
| download | cataract-713c2d86d9335a9c681357254d4bc4f817626259.tar.xz | |
Change EXIF metadata handling into a registered function
This allows much greater flexibility from templates regarding
EXIF metadata handling, no more hardcoded symbols. It's possible
to display essentially any attribute known to Exiv2. Please see
http://exiv2.org/metadata.html
This brings two new functions that can be called from templates:
* get_exif_value (exiv2_attribute)
* get_exif_value_fixed (exiv2_attribute)
Both functions take a string argument of metadata attribute name
from Exiv2 namespace. The difference is that get_exif_value_fixed()
does some extra formatting for several basic attributes
(e.g. datetime format).
Diffstat (limited to 'sample/src')
0 files changed, 0 insertions, 0 deletions
