<% var image_attributes = ''; if(field.height) { image_attributes += 'height: ' + field.height + 'px;' } if(field.width) { image_attributes += 'width: ' + field.width + 'px;' } _.forEach(field.values, function(value, index) { if (value.value) { %>
<% } else { %> - <% }}); %>