summaryrefslogtreecommitdiff
path: root/templates/template_album.html
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2012-04-15 21:44:31 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2012-04-15 21:44:31 +0200
commit713c2d86d9335a9c681357254d4bc4f817626259 (patch)
treec4cabe1b7dcf1d2f192fdcfc68d35e242305c949 /templates/template_album.html
parentc5f23c17a14bbe07042f46be90fe2b2e465436c7 (diff)
downloadcataract-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 'templates/template_album.html')
0 files changed, 0 insertions, 0 deletions