Support Center

Recent questions

About Koken

This Help Center provides support for Koken, a free content management system designed for photographers, artists and designers.

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

nicer print of camera model

Axel Reinhold

Nov 09, 2014 10:31AM EST

I want a nicer print of the camera model from exif. Nikon is the only one that duplicates makername in exif.model. So i tried to hide it this way:

<koken:not empty="exif.model">
<koken:if data="exif.make" equals="NIKON CORPORATION">
<span class="label">Model</span>
<span class="value">{{ exif.model }}</span>
<span class="label">Model</span>
<span class="value">{{ exif.make }} {{ exif.model }}</span>

but the is always goes to else path regardless make=='NIKON CORPORATION" What am i doing wrong?


Up 0 rated Down

Todd Dominey Koken Agent

Nov 14, 2014 08:12AM EST

Axel – this might be an obvious thing to ask, but are you sure that’s the value of exif.make for the image you are viewing? Also, if this is online somewhere we can see the output and original image that would help. We could try to see the error ourselves here.

Up 0 rated Down

Todd Dominey Koken Agent

Nov 24, 2014 04:46PM EST

Axel – I see the problem now. Do this instead at the beginning:

koken:if data=“exif.make.raw” equals=“NIKON CORPORATION”

That data variable should return the right value. I removed the tag brackets just for posting here.

This question has received the maximum number of answers.
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found