diff --git a/src/api/templates/dashboard.html b/src/api/templates/dashboard.html
index 3408c43..0148598 100644
--- a/src/api/templates/dashboard.html
+++ b/src/api/templates/dashboard.html
@@ -195,6 +195,14 @@
content: "\1F382 ";
}
+ .contact-photo {
+ width: 80px;
+ height: 80px;
+ border-radius: 50%;
+ object-fit: cover;
+ flex-shrink: 0;
+ }
+
.empty-state {
color: #888;
font-size: 0.875rem;
@@ -309,6 +317,9 @@
{{ b.birthday.strftime('%d.%m.') }}{% if b.birthday.year and b.birthday.year < current_year %} ยท {{ current_year - b.birthday.year }} Jahre{% endif %}
+ {% if b.photo_url %}
+
+ {% endif %}
{% endfor %}
diff --git a/src/db.py b/src/db.py
index 46ae1ca..a575639 100644
--- a/src/db.py
+++ b/src/db.py
@@ -160,7 +160,7 @@ def get_upcoming_birthdays(conn, account: str | None, days: int = 7) -> list[dic
with conn.cursor() as cur:
cur.execute(
f"""SELECT id, full_name, given_name, middle_name, family_name,
- prefix, suffix, organization, birthday, account
+ prefix, suffix, organization, birthday, account, photo_url
FROM contacts {where_clause}
{"AND" if where_clause else "WHERE"} birthday IS NOT NULL
AND (