fix: image
This commit is contained in:
parent
0ba8af81c1
commit
d295e29834
3 changed files with 10 additions and 10 deletions
|
@ -16,21 +16,21 @@ schema: book
|
|||
<div class="book-display">
|
||||
<img
|
||||
srcset="
|
||||
https://cdn.coryd.dev{{ book.image }}?w=203&aspect_ratio=2:3 203w,
|
||||
https://cdn.coryd.dev{{ book.image }}?w=406&aspect_ratio=2:3 406w,
|
||||
https://cdn.coryd.dev{{ book.image }}?w=812&aspect_ratio=2:3 812w,
|
||||
https://cdn.coryd.dev{{ book.image }}?w=1624&aspect_ratio=2:3 1624w
|
||||
https://cdn.coryd.dev{{ book.image }}?class=verticalsm 200w,
|
||||
https://cdn.coryd.dev{{ book.image }}?class=verticalmd 400w,
|
||||
https://cdn.coryd.dev{{ book.image }}?class=verticalbase 800w,
|
||||
https://cdn.coryd.dev{{ book.image }}?class=verticallg 1200w
|
||||
"
|
||||
sizes="(max-width: 450px) 203px,
|
||||
(max-width: 850px) 406px,
|
||||
(max-width: 1000px) 812px,
|
||||
1624px"
|
||||
src="https://cdn.coryd.dev{{ book.image }}?w=1624&aspect_ratio=2:3"
|
||||
src="https://cdn.coryd.dev{{ book.image }}?class=verticallg"
|
||||
alt="{{ alt }}"
|
||||
loading="eager"
|
||||
decoding="async"
|
||||
width="203"
|
||||
height="309"
|
||||
width="200"
|
||||
height="307"
|
||||
/>
|
||||
<div class="book-meta">
|
||||
<p class="title"><strong>{{ book.title }}</strong></p>
|
||||
|
|
Reference in a new issue