diff options
author | Yann Herklotz <git@yannherklotz.com> | 2023-04-09 18:49:55 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2023-04-09 18:49:55 +0100 |
commit | 77dedcfe7c3f726936d98c05fd440c49d4c5b51e (patch) | |
tree | d8cace6c61a8cea4e9885602226bab48ab4737f4 | |
parent | 8b460a494590acc6249eb351c1c9685ba1d50365 (diff) | |
download | yannherklotz.com-77dedcfe7c3f726936d98c05fd440c49d4c5b51e.tar.gz yannherklotz.com-77dedcfe7c3f726936d98c05fd440c49d4c5b51e.zip |
Add better resizing for image
-rw-r--r-- | content.org | 2 | ||||
-rw-r--r-- | static/images/portrait-small.webp | bin | 0 -> 12466 bytes |
2 files changed, 1 insertions, 1 deletions
diff --git a/content.org b/content.org index 61468eb..eab2a3b 100644 --- a/content.org +++ b/content.org @@ -10,7 +10,7 @@ :EXPORT_FILE_NAME: _index :END: -#+html: <figure class="profile-picture"><img src="/images/portrait.webp" alt="Profile picture" width="200" height="200" /></figure> +#+html: <figure class="profile-picture"><img src="/images/portrait.webp" srcset="/images/portrait-small.webp 200w, /images/portrait.webp 500w" sizes="12.5rem" alt="Profile picture" width="200" height="200" /></figure> Hi! I'm currently a PhD student in the Circuits and Systems group at Imperial College London, supervised by [[https://johnwickerson.github.io][John Wickerson]]. diff --git a/static/images/portrait-small.webp b/static/images/portrait-small.webp Binary files differnew file mode 100644 index 0000000..21f57f4 --- /dev/null +++ b/static/images/portrait-small.webp |