Sha256: 4654bd65f7a312ebaa5fea83d6848bba797c9a2d3534839ad5405ae05253399f

Contents?: true

Size: 309 Bytes

Versions: 24

Compression:

Stored size: 309 Bytes

Contents

<% size ||= :mini %>
<% itemprop ||= nil %>

<% if image && image.attachment? %>
  <% if itemprop %>
    <%= image_tag image.attachment(size), itemprop: itemprop %>
  <% else %>
    <%= image_tag image.attachment(size) %>
  <% end %>
<% else %>
  <span class="image-placeholder <%= size %>"></span>
<% end %>

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
solidus_frontend-2.5.0 app/views/spree/shared/_image.html.erb
solidus_frontend-2.5.0.rc1 app/views/spree/shared/_image.html.erb
solidus_frontend-2.5.0.beta2 app/views/spree/shared/_image.html.erb
solidus_frontend-2.5.0.beta1 app/views/spree/shared/_image.html.erb