Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% assign image_url = image | img_url: 'master' | replace: '_1x1.', '_{width}x.' %}
- <img class="Image--lazyLoad Image--fadeIn"
- {% if initial_image_id == image.id %}src="{{ image | img_url: 'master' }}"{% endif %}
- data-src="{{ image_url }}"
- data-widths="[{{ supported_sizes }}]"
- data-sizes="auto"
- data-expand="-100"
- alt="{{ image.alt | escape }}"
- data-max-width="{{ image.width }}"
- data-max-height="{{ image.height }}"
- data-original-src="{{ image | img_url: 'master' }}">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement