<% if (i.type === 'image') { %>

<% } else if (i.type === 'video') { %>
<% } else { %>
🔊<% } %>
<%= i.label %>
<% if (i.type === 'audio') { %>
<% } %>
<%= i.source === 'upload' ? 'uploaded' : 'built-in' %>
<% if (i.note) { %><%= i.note %><% } %>
<% if (i.used) { %>used by <%= i.used %><% } %>
<%= i.size > 1048576 ? (i.size / 1048576).toFixed(1) + ' MB' : Math.max(1, Math.round(i.size / 1024)) + ' KB' %>
<% if (i.source === 'upload') { %>
<% } %>