diff --git a/templates/viewer.html b/templates/viewer.html
index 419824c..3639aa4 100644
--- a/templates/viewer.html
+++ b/templates/viewer.html
@@ -46,6 +46,7 @@
{% for face in objs[id].file_details.faces %}
data = { 'id': '{{face.id}}', 'x': '{{face.face_left}}', 'y': '{{face.face_top}}', 'w': '{{face.w}}', 'h':'{{face.h}}' }
{% if face.refimg %}
+ data['pid']='{{face.refimg.person.id}}'
data['who']='{{face.refimg.person.tag}}'
data['distance']="{{face.refimg_lnk.face_distance|round(2)}}"
{% endif %}