diff --git a/frontends/etiquette_flask/templates/photo.html b/frontends/etiquette_flask/templates/photo.html
index 6aab491..3c9dbbc 100644
--- a/frontends/etiquette_flask/templates/photo.html
+++ b/frontends/etiquette_flask/templates/photo.html
@@ -2,6 +2,7 @@
{% import "header.html" as header %}
+ {% import "tag_object.html" as tag_object %}
Photo {{photo.basename}}
@@ -166,13 +167,7 @@
{% set tags = photo.sorted_tags() %}
{% for tag in tags %}
- {% set qualified_name=tag.qualified_name() %}
- {% set display_name=qualified_name %}
- {% if display_name|length > 30 %}
- {% set display_name = display_name[-30:] %}
- {% set display_name = display_name.split(".", 1)[1] %}
- {% endif %}
- {{display_name}}