chore: image quality
This commit is contained in:
parent
2034171ebc
commit
2d144e8922
23 changed files with 31 additions and 31 deletions
|
@ -19,9 +19,9 @@
|
|||
{%- if loading -%}{{ loading }}{%- else -%}lazy{%- endif -%}
|
||||
{%- endcapture -%}
|
||||
{% if shape == 'square' %}
|
||||
<img src="https://coryd.dev/.netlify/images/?url={{ item.image }}&fit=cover&w=240&h=240&fm=webp&q=75"{% if alt %} alt="{{ alt }}"{% endif %} loading="{{ loadingStrategy }}" decoding="async" width="240" height="240" />
|
||||
<img src="https://coryd.dev/.netlify/images/?url={{ item.image }}&fit=cover&w=240&h=240&fm=webp&q=85"{% if alt %} alt="{{ alt }}"{% endif %} loading="{{ loadingStrategy }}" decoding="async" width="240" height="240" />
|
||||
{% else %}
|
||||
<img src="https://coryd.dev/.netlify/images/?url={{ item.image }}&fit=cover&w=200&h=307&fm=webp&q=75"{% if alt %} alt="{{ alt }}"{% endif %} loading="{{ loadingStrategy }}" decoding="async" width="200" height="307" />
|
||||
<img src="https://coryd.dev/.netlify/images/?url={{ item.image }}&fit=cover&w=200&h=307&fm=webp&q=85"{% if alt %} alt="{{ alt }}"{% endif %} loading="{{ loadingStrategy }}" decoding="async" width="200" height="307" />
|
||||
{% endif %}
|
||||
</div>
|
||||
</a>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<div class="header">{{ item.title }}</div>
|
||||
<div class="subheader">{{ item.plays }} plays</div>
|
||||
</div>
|
||||
<img src="https://coryd.dev/.netlify/images/?url={{ item.image }}&fit=cover&w=240&h=240&fm=webp&q=75"{% if alt %} alt="{{ alt }}"{% endif %} loading="eager" decoding="async" width="240" height="240" />
|
||||
<img src="https://coryd.dev/.netlify/images/?url={{ item.image }}&fit=cover&w=240&h=240&fm=webp&q=85"{% if alt %} alt="{{ alt }}"{% endif %} loading="eager" decoding="async" width="240" height="240" />
|
||||
</div>
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{% capture alt %}{{ item.title | escape }} by {{ item.artist }}{% endcapture %}
|
||||
<div class="item">
|
||||
<div class="meta">
|
||||
<img src="https://coryd.dev/.netlify/images/?url={{ item.image }}&fit=cover&w=64&h=64&fm=webp&q=75" alt="{{ alt }}" loading="lazy" decoding="async" width="64" height="64" />
|
||||
<img src="https://coryd.dev/.netlify/images/?url={{ item.image }}&fit=cover&w=64&h=64&fm=webp&q=85" alt="{{ alt }}" loading="lazy" decoding="async" width="64" height="64" />
|
||||
<div class="meta-text">
|
||||
<div class="title">
|
||||
<a href="{{ item.url }}">{{ item.title }}</a>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
{%- capture loadingStrategy -%}
|
||||
{%- if loading -%}{{ loading }}{%- else -%}lazy{%- endif -%}
|
||||
{%- endcapture -%}
|
||||
<img src="https://coryd.dev/.netlify/images/?url={{ media.backdrop }}&fit=cover&w=256&h=144&fm=webp&q=75" alt="{{ alt }}" loading="{{ loadingStrategy }}" decoding="async" width="256" height="144" />
|
||||
<img src="https://coryd.dev/.netlify/images/?url={{ media.backdrop }}&fit=cover&w=256&h=144&fm=webp&q=85" alt="{{ alt }}" loading="{{ loadingStrategy }}" decoding="async" width="256" height="144" />
|
||||
</div>
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
<div class="header">{{ movie.title }} ({{ movie.year }})</div>
|
||||
<div class="subheader">Last watched @ {{ movie.dateAdded | date: "%B %e, %Y" }}</div>
|
||||
</div>
|
||||
<img src="https://coryd.dev/.netlify/images/?url={{ movie.backdrop }}&fit=cover&w=768&h=432&fm=webp&q=75" alt="{{ alt }}" loading="eager" decoding="async" width="768" height="432" />
|
||||
<img src="https://coryd.dev/.netlify/images/?url={{ movie.backdrop }}&fit=cover&w=768&h=432&fm=webp&q=85" alt="{{ alt }}" loading="eager" decoding="async" width="768" height="432" />
|
||||
</div>
|
||||
</a>
|
|
@ -1,26 +1,26 @@
|
|||
<div class="badge-grid">
|
||||
<a href="https://11ty.dev">
|
||||
<img src="https://coryd.dev/.netlify/images/?url=/assets/img/badges/eleventy.png&fm=webp&q=75" alt="Made with 11ty" loading="lazy" decoding="async" width="88" height="31" />
|
||||
<img src="https://coryd.dev/.netlify/images/?url=/assets/img/badges/eleventy.png&fm=webp&q=85" alt="Made with 11ty" loading="lazy" decoding="async" width="88" height="31" />
|
||||
</a>
|
||||
<a href="https://social.lol/@cory">
|
||||
<img src="https://coryd.dev/.netlify/images/?url=/assets/img/badges/mastodon.png&fm=webp&q=75" alt="Follow me on Mastodon" loading="lazy" decoding="async" width="88" height="31" />
|
||||
<img src="https://coryd.dev/.netlify/images/?url=/assets/img/badges/mastodon.png&fm=webp&q=85" alt="Follow me on Mastodon" loading="lazy" decoding="async" width="88" height="31" />
|
||||
</a>
|
||||
<a href="https://www.buymeacoffee.com/cory">
|
||||
<img src="https://coryd.dev/.netlify/images/?url=/assets/img/badges/buymeacoffee.png&fm=webp&q=75" alt="Buy Me a Coffee" loading="lazy" decoding="async" width="88" height="31" />
|
||||
<img src="https://coryd.dev/.netlify/images/?url=/assets/img/badges/buymeacoffee.png&fm=webp&q=85" alt="Buy Me a Coffee" loading="lazy" decoding="async" width="88" height="31" />
|
||||
</a>
|
||||
<a href="https://github.com/cdransf">
|
||||
<img src="https://coryd.dev/.netlify/images/?url=/assets/img/badges/github.png&fm=webp&q=75" alt="Check out my GitHub" loading="lazy" decoding="async" width="88" height="31" />
|
||||
<img src="https://coryd.dev/.netlify/images/?url=/assets/img/badges/github.png&fm=webp&q=85" alt="Check out my GitHub" loading="lazy" decoding="async" width="88" height="31" />
|
||||
</a>
|
||||
<a href="https://github.com/ai-robots-txt/ai.robots.txt">
|
||||
<img src="https://coryd.dev/.netlify/images/?url=/assets/img/badges/notarobot.png&fm=webp&q=75" alt="Not a robot" loading="lazy" decoding="async" width="88" height="31" />
|
||||
<img src="https://coryd.dev/.netlify/images/?url=/assets/img/badges/notarobot.png&fm=webp&q=85" alt="Not a robot" loading="lazy" decoding="async" width="88" height="31" />
|
||||
</a>
|
||||
<a href="https://validator.w3.org">
|
||||
<img src="https://coryd.dev/.netlify/images/?url=/assets/img/badges/validhtml5.png&fm=webp&q=75" alt="Valid HTML5" loading="lazy" decoding="async" width="88" height="31" />
|
||||
<img src="https://coryd.dev/.netlify/images/?url=/assets/img/badges/validhtml5.png&fm=webp&q=85" alt="Valid HTML5" loading="lazy" decoding="async" width="88" height="31" />
|
||||
</a>
|
||||
<a href="https://www.w3.org/Style/CSS/Overview.en.html">
|
||||
<img src="https://coryd.dev/.netlify/images/?url=/assets/img/badges/validcss.png&fm=webp&q=75" alt="Valid CSS" loading="lazy" decoding="async" width="88" height="31" />
|
||||
<img src="https://coryd.dev/.netlify/images/?url=/assets/img/badges/validcss.png&fm=webp&q=85" alt="Valid CSS" loading="lazy" decoding="async" width="88" height="31" />
|
||||
</a>
|
||||
<a href="https://coryd.dev/feeds">
|
||||
<img src="https://coryd.dev/.netlify/images/?url=/assets/img/badges/validrss.png&fm=webp&q=75" alt="Valid RSS" loading="lazy" decoding="async" width="88" height="31" />
|
||||
<img src="https://coryd.dev/.netlify/images/?url=/assets/img/badges/validrss.png&fm=webp&q=85" alt="Valid RSS" loading="lazy" decoding="async" width="88" height="31" />
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class="webring__wrapper">
|
||||
<div class="webring__centered flex-centered">
|
||||
<img src="https://coryd.dev/.netlify/images/?url=/assets/img/webrings/theclaw.png&fm=webp&q=75" alt="The Claw Webring" loading="lazy" decoding="async" width="200" height="169" />
|
||||
<img src="https://coryd.dev/.netlify/images/?url=/assets/img/webrings/theclaw.png&fm=webp&q=85" alt="The Claw Webring" loading="lazy" decoding="async" width="200" height="169" />
|
||||
</div>
|
||||
<h3 class="text-centered">The Claw Webring</h3>
|
||||
<div class="webring__centered flex-centered">
|
||||
|
|
Reference in a new issue