aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2023-04-09 18:49:55 +0100
committerYann Herklotz <git@yannherklotz.com>2023-04-09 18:49:55 +0100
commit77dedcfe7c3f726936d98c05fd440c49d4c5b51e (patch)
treed8cace6c61a8cea4e9885602226bab48ab4737f4
parent8b460a494590acc6249eb351c1c9685ba1d50365 (diff)
downloadyannherklotz.com-77dedcfe7c3f726936d98c05fd440c49d4c5b51e.tar.gz
yannherklotz.com-77dedcfe7c3f726936d98c05fd440c49d4c5b51e.zip
Add better resizing for image
-rw-r--r--content.org2
-rw-r--r--static/images/portrait-small.webpbin0 -> 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
new file mode 100644
index 0000000..21f57f4
--- /dev/null
+++ b/static/images/portrait-small.webp
Binary files differ