img: reduce image sizes by lowering quality
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Benjamin Yule Bädorf 2024-04-14 15:57:27 +02:00
parent 424274cda4
commit 68e3aab8d1
Signed by: b12f
GPG key ID: 729956E1124F8F26
5 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@
<source media="(min-width: 800px) and (max-width: 1400)" srcset="/img/logo-500.jpg" /> <source media="(min-width: 800px) and (max-width: 1400)" srcset="/img/logo-500.jpg" />
<source media="(min-width: 1401px) and (max-width: 1899px)" srcset="/img/logo-700.jpg" /> <source media="(min-width: 1401px) and (max-width: 1899px)" srcset="/img/logo-700.jpg" />
<source media="(min-width: 1900px)" srcset="/img/logo-1000.jpg" /> <source media="(min-width: 1900px)" srcset="/img/logo-1000.jpg" />
<img class="mi-logo--img" src="/img/logo-1000.jpg" alt="MiOM Logo" /> <img class="mi-logo--img" src="/img/logo-500.jpg" alt="MiOM Logo" />
</picture> </picture>
</div> </div>
@ -26,7 +26,7 @@
<source media="(min-width: 501px)" srcset="/img/home-{{ card.image.url }}-700.jpg" /> <source media="(min-width: 501px)" srcset="/img/home-{{ card.image.url }}-700.jpg" />
<img <img
class="mi-card--background" class="mi-card--background"
src="/img/home-{{ card.image.url }}-700.jpg" src="/img/home-{{ card.image.url }}-500.jpg"
alt="{{ card.image.alt }}" alt="{{ card.image.alt }}"
/> />
</picture> </picture>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 422 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 328 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 305 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 635 KiB

After

Width:  |  Height:  |  Size: 136 KiB