Skip to content

Instantly share code, notes, and snippets.

@pavelloz

pavelloz/item.liquid Secret

Created Nov 20, 2020
Embed
What would you like to do?
Getting jpeg and webp
<picture>
<source srcset="{{ p.photo.versions.uncropped_webp }}" type="image/webp" alt="{{ item.name }}">
<source srcset="{{ p.photo.versions.uncropped }}" type="image/jpeg" alt="{{ item.name }}">
<img src="{{ p.photo.versions.uncropped }}" alt="{{ item.name }}">
</picture>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.