multiple/>
<%- _.__('pim_enrich.entity.product.media.upload')%>
<% if (value && value.data) { %> <%_.each(value.data, function (image,key){ %> <% if(typeof(image.filePath) !== 'undefined') { %>
<% mediaThumbnailUrl = mediaUrlGenerator.getMediaShowUrl(image.filePath, 'thumbnail_small') %> <% mediaPreviewUrl = mediaUrlGenerator.getMediaShowUrl(image.filePath, 'preview') %> <% mediaDownloadUrl = Routing.generate('webkuldam_media_download', {'identifier': typeof(image) !== 'undefined' && typeof(image.filePath) !== 'undefined' ? encodeURIComponent(image.filePath) : null }); %> <% if ('pim_catalog_image' === attribute.type && null != mediaThumbnailUrl) { %>
<% } else { %>
<% } %>
<%- image.originalFilename %>
<% extension = image.originalFilename.split('.').pop() %> <% imageExtensions = ['jpg','jpeg','png','bmp']%>
<% if ('pim_catalog_image' === attribute.type && null != mediaPreviewUrl && imageExtensions.includes(extension) !== false) { %>
<% } %>
<% if ('pim_catalog_image' === attribute.type && null != mediaPreviewUrl && imageExtensions.includes(extension) !== false) { %>
<% } %>
<% if(typeof image.visibility !== 'undefined') { %>
<% if(image.visibility !== 'public') { %>
<% } else { %>
<% } %>
<% } %> <% if(azureActive == true) { %>
<% } %>
<% } %> <% }) %> <% } %>