Optimise image loading
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
400953548f
commit
f77d262808
@ -22,12 +22,10 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<picture>
|
<picture>
|
||||||
<source media="(min-width:800px)" secset="./images/logo/logo-full-715.webp" type="image/webp">
|
<source media="(max-width:450px)" srcset="/images/logo/logo-full-256.webp" type="image/webp">
|
||||||
<source media="(min-width:800px)" srcset="./images/logo/logo-full-715.png" type="image/png">
|
<source media="(max-width:450px)" srcset="/images/logo/logo-full-256.png" type="image/png">
|
||||||
<source media="(min-width:700px)" srcset="./images/logo/logo-full-512.webp" type="image/webp">
|
<source srcset="/images/logo/logo-full-512.webp" type="image/webp">
|
||||||
<source media="(min-width:700px)" srcset="./images/logo/logo-full-512.png" type="image/png">
|
<source srcset="/images/logo/logo-full-512.png" type="image/png">
|
||||||
<source media="(min-width:450px)" srcset="./images/logo/logo-full-256.webp" type="image/png">
|
|
||||||
<source media="(min-width:450px)" srcset="./images/logo/logo-full-256.png" type="image/png">
|
|
||||||
<img class="titleimg" src="./images/logo/logo-full-512.png" alt="OwlBoard Logo">
|
<img class="titleimg" src="./images/logo/logo-full-512.png" alt="OwlBoard Logo">
|
||||||
</picture>
|
</picture>
|
||||||
<h2>Code Lookup</h2>
|
<h2>Code Lookup</h2>
|
||||||
|
@ -31,12 +31,12 @@
|
|||||||
|
|
||||||
<!-- Main Content Begins -->
|
<!-- Main Content Begins -->
|
||||||
<picture>
|
<picture>
|
||||||
<source media="(min-width:800px)" secset="/images/logo/logo-full-715.webp" type="image/webp">
|
<source media="(max-width:450px)" srcset="/images/logo/logo-full-256.webp" type="image/webp">
|
||||||
<source media="(min-width:800px)" srcset="/images/logo/logo-full-715.png" type="image/png">
|
<source media="(max-width:450px)" srcset="/images/logo/logo-full-256.png" type="image/png">
|
||||||
<source media="(min-width:700px)" srcset="/images/logo/logo-full-512.webp" type="image/webp">
|
<source media="(max-width:700px)" srcset="/images/logo/logo-full-512.webp" type="image/webp">
|
||||||
<source media="(min-width:700px)" srcset="/images/logo/logo-full-512.png" type="image/png">
|
<source media="(max-width:700px)" srcset="/images/logo/logo-full-512.png" type="image/png">
|
||||||
<source media="(min-width:450px)" srcset="/images/logo/logo-full-256.webp" type="image/webp">
|
<source srcset="/images/logo/logo-full-715.webp" type="image/webp">
|
||||||
<source media="(min-width:450px)" srcset="/images/logo/logo-full-256.png" type="image/png">
|
<source srcset="/images/logo/logo-full-715.png" type="image/png">
|
||||||
<img class="titleimg" src="/images/logo/logo-full-512.png" alt="OwlBoard Logo">
|
<img class="titleimg" src="/images/logo/logo-full-512.png" alt="OwlBoard Logo">
|
||||||
</picture>
|
</picture>
|
||||||
<br>
|
<br>
|
||||||
|
Reference in New Issue
Block a user