Sha256: c373a1a4e1fc385172653f7da011b9fa6af9fdc09596977b8bd5bf37fdf7b3e7
Contents?: true
Size: 680 Bytes
Versions: 3
Compression:
Stored size: 680 Bytes
Contents
<% image_zoomable = true if image_zoomable.nil? # do not use ||= as image_zoomable may be "false" %> <% fullsize_url = url_for(blob.variant(resize: '1920>')) %> <% if image_zoomable %> <a data-fancybox title="<%= strip_tags(caption) %>" href="<%= fullsize_url %>"> <% end %> <img src="<%= fullsize_url %>" srcset=" <% [1920, 1600, 1440, 1366, 1280, 1024, 800, 768, 640, 360, 200].each do |size| %> <%= url_for(blob.variant(resize: "#{size}>", quality: 95)) %> <%= size%>w, <% end %> " sizes="100vw" alt="<%= alt.html_safe %>" class="img-responsive" > <% if image_zoomable %> </a> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems