Koken – Exif in Lightbox

If you want to add Exif data to your lightbox image overlay on your koken photo website, you can do it easily by editing the default lightbox.css file that can be find in the following path: /app/site/themes/common/css/lightbox.css

Exif will be displayed when you press the “Show caption” button in lightbox.

You can find my edited version of the file in my github:

//github.com/jonathanR79/koken-lightbox-exif/

Or you can edit the file as follow

<div class="caption" style="display:none">
<h3>{{ content.title }}</h3>
&nbsp;
{{ content.caption }}
<br>
<koken:exif>
<koken:not empty="exif.make">
{{ exif.make }}
</koken:not>
<koken:not empty="exif.model">
{{ exif.model }},
</koken:not>
<koken:not empty="exif.exposure">
{{ exif.exposure }},
</koken:not>
<koken:not empty="exif.aperture">
{{ exif.aperture }},
</koken:not>
<koken:not empty="exif.focal_length">
{{ exif.focal_length }},
</koken:not>
<koken:not empty="exif.iso_speed_ratings">
{{ exif.iso_speed_ratings }}
</koken:not>
</koken:exif>
</div>

Author: jr-photo.be

Brussels Artist Photographer

Comments are moderated and dofollow link is activated.

Comment rules:
  • Real comments that shows that you have read the post
  • Link only to photography related websites.

Leave a Reply

Your e-mail address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.