daily pastebin goal
30%
SHARE
TWEET

sections/product-template.liquid

a guest Nov 13th, 2018 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {% assign image_url = image | img_url: 'master' | replace: '_1x1.', '_{width}x.' %}
  2.  
  3.                         <img class="Image--lazyLoad Image--fadeIn"
  4.                                  {% if initial_image_id == image.id %}src="{{ image | img_url: 'master' }}"{% endif %}
  5.                                  data-src="{{ image_url }}"
  6.                                  data-widths="[{{ supported_sizes }}]"
  7.                                  data-sizes="auto"
  8.                                  data-expand="-100"
  9.                                  alt="{{ image.alt | escape }}"
  10.                                  data-max-width="{{ image.width }}"
  11.                                  data-max-height="{{ image.height }}"
  12.                                  data-original-src="{{ image | img_url: 'master' }}">
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top