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

Add content tags automatically

Horacio Vasquez

Oct 24, 2017 08:37PM EDT

Hello.

Is there a way to automatically add tags to the images via javascript?

I was thinking of something like:

if ({{ content.aspect_ratio }}>1){
{{ content.tags }} = "horizontal";
}
else{
{{ content.tags}} = "vertical";
}


Thanks in advance.

Cheers

Answer this question

support@koken.me
http://assets0.desk.com/
false
koken
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete