-
-
Save pavelloz/0686d94f1e3fab05569f349d94b4c7c4 to your computer and use it in GitHub Desktop.
Getting jpeg and webp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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