diff --git a/templates/contact_template.tpl b/templates/contact_template.tpl
index 21241d0ab..31d7971ac 100644
--- a/templates/contact_template.tpl
+++ b/templates/contact_template.tpl
@@ -22,6 +22,8 @@
{{foreach $contact.photo_menu as $c}}
{{if $c.2}}
{{$c.0}}
+ {{elseif $c.3}}
+ {{$c.0}}
{{else}}
{{$c.0}}
{{/if}}
diff --git a/templates/contacts-template.tpl b/templates/contacts-template.tpl
index e33855b6d..9c5b0498c 100644
--- a/templates/contacts-template.tpl
+++ b/templates/contacts-template.tpl
@@ -74,8 +74,8 @@ this needs to be removed and do it with js *}}