Skip to content

Commit

Permalink
Add multiple sizes and formats to portrait picture.
Browse files Browse the repository at this point in the history
  • Loading branch information
PGijsbers committed Aug 30, 2023
1 parent 273f60a commit 1109ada
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion 2023/about.html
Expand Up @@ -20,7 +20,21 @@
</nav>
<main>
<h1>Pieter Gijsbers</h1>
<img src="img/portrait-q15.jpg" class="portrait-picture" alt="Portait picture of Pieter Gijsbers">
<picture>
<source
type="image/avif"
srcset="img/portrait/portrait-400.avif 400w,
img/portrait/portrait-600.avif 600w"
sizes="200px"
/>
<source
type="image/jpg"
srcset="img/portrait/portrait-400.jpg 400w,
img/portrait/portrait-600.jpg 600w,"
sizes="200px"
/>
<img src="img/portrait/portrait-q15.jpg" class="portrait-picture" alt="Portrait picture of Pieter Gijsbers">
</picture>
<p>
Hi! I am a research engineer at Eindhoven University of Technology
(TU/e) in <a href="https://joaquinvanschoren.github.io/home/">Joaquin
Expand Down
Binary file added 2023/img/portrait/portrait-400.avif
Binary file not shown.
Binary file added 2023/img/portrait/portrait-400.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2023/img/portrait/portrait-600.avif
Binary file not shown.
Binary file added 2023/img/portrait/portrait-600.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes

0 comments on commit 1109ada

Please sign in to comment.