<% if (data.product && data.product.images && data.product.images.length > 0) { %>
<% data.product.images.forEach(function(image, index) { %>
<% }); %>
1
/ <%= data.product.images.length %>
<% if (data.product.images.length > 1) { %>
<% } %>
<% } else { %>
<% } %>