feat: independent cdn
This commit is contained in:
parent
152f7f89d3
commit
38cca61033
25 changed files with 125 additions and 123 deletions
|
@ -21,16 +21,16 @@ schema: artist
|
|||
<div class="artist-display">
|
||||
<img
|
||||
srcset="
|
||||
https://coryd.dev/.netlify/images/?url={{ artist.image }}&fit=cover&w=200&h=200&fm=webp&q=40 200w,
|
||||
https://coryd.dev/.netlify/images/?url={{ artist.image }}&fit=cover&w=400&h=400&fm=webp&q=40 400w,
|
||||
https://coryd.dev/.netlify/images/?url={{ artist.image }}&fit=cover&w=800&h=800&fm=webp&q=40 800w,
|
||||
https://coryd.dev/.netlify/images/?url={{ artist.image }}&fit=cover&w=1200&h=1200&fm=webp&q=40 1200w
|
||||
https://coryd-dev.b-cdn.net{{ artist.image }}?w=200&aspect_ratio=1:1 200w,
|
||||
https://coryd-dev.b-cdn.net{{ artist.image }}?w=400&aspect_ratio=1:1 400w,
|
||||
https://coryd-dev.b-cdn.net{{ artist.image }}?w=800&aspect_ratio=1:1 800w,
|
||||
https://coryd-dev.b-cdn.net{{ artist.image }}?w=1200&aspect_ratio=1:1 1200w
|
||||
"
|
||||
sizes="(max-width: 450px) 200px,
|
||||
(max-width: 850px) 400px,
|
||||
(max-width: 1000px) 800px,
|
||||
1200px"
|
||||
src="https://coryd.dev/.netlify/images/?url={{ artist.image }}&fit=cover&w=1200&h=1200&fm=webp&q=40"
|
||||
src="https://coryd-dev.b-cdn.net{{ artist.image }}?w=1200&aspect_ratio=1:1"
|
||||
alt="{{ alt }}"
|
||||
loading="eager"
|
||||
decoding="async"
|
||||
|
|
Reference in a new issue