<% if(type !== 'user' && type !== 'item' && type !== 'category') { %>

<%= l('K2_IMAGE') %>

<% } %> <% if(type !== 'item' && type !== 'category') { %>
<% if(type !== 'user') { %>
<% } %> <% if(flag) { %>
<%- l('K2_PREVIEW') %>
<% } %> <% if(type !== 'user') { %>
<% } %> <% } %> <% if(type == 'item' || type == 'category'){ %>
<%= l('K2_UPLOAD') %>
<% if(flag) { %>
<%- l('K2_PREVIEW') %>
<% } %>
<% } %>