diff --git a/webinterface.py b/webinterface.py
index 6e8bf59b..18dcab52 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -84,6 +84,7 @@ def htmlProfile(baseDir: str,httpPrefix: str,authorized: bool,ocapAlways: bool,p
skillsButton='buttonselected'
elif selected=='shares':
sharesButton='buttonselected'
+ actor=profileJson['id']
profileStr= \
'
' \
'
' \
@@ -95,12 +96,12 @@ def htmlProfile(baseDir: str,httpPrefix: str,authorized: bool,ocapAlways: bool,p
'
' \
'
'
@@ -112,7 +113,7 @@ def htmlProfile(baseDir: str,httpPrefix: str,authorized: bool,ocapAlways: bool,p
'}' \
'' \
'.hero-image {' \
- ' background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("'+profileJson['id']+'/image.png");' \
+ ' background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("'+actor+'/image.png");' \
' height: 50%;' \
' background-position: center;' \
' background-repeat: no-repeat;' \