Skip to content

Instantly share code, notes, and snippets.

@Vortexmind
Created July 1, 2020 16:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Vortexmind/92cc432623dab0ee0e889b33ccaa2d88 to your computer and use it in GitHub Desktop.
Save Vortexmind/92cc432623dab0ee0e889b33ccaa2d88 to your computer and use it in GitHub Desktop.
<img class="post-card-image"
srcset="https://res.cloudinary.com/<YOUR_USERNAME>/image/fetch/w_300,c_fit,q_auto,f_auto,dpr_auto/{{img_url feature_image size="s" absolute="true"}} 300w,
https://res.cloudinary.com/<YOUR_USERNAME>/image/fetch/w_600,c_fit,q_auto,f_auto,dpr_auto/{{img_url feature_image size="m" absolute="true"}} 600w,
https://res.cloudinary.com/<YOUR_USERNAME>/image/fetch/w_1000,c_fit,q_auto,f_auto,dpr_auto/{{img_url feature_image size="l"absolute="true"}} 1000w,
https://res.cloudinary.com/<YOUR_USERNAME>/image/fetch/w_2000,c_fit,q_auto,f_auto,dpr_auto/{{img_url feature_image size="xl"absolute="true"}} 2000w"
sizes="(max-width: 1000px) 400px, 700px"
loading="lazy"
src="https://res.cloudinary.com/<YOUR_USERNAME>/image/fetch/w_600,c_fit,q_auto,f_auto,dpr_auto/{{img_url feature_image size="m" absolute="true"}}"
alt="{{title}}"
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment