diff --git a/netbox/templates/extras/object_imageattachments.html b/netbox/templates/extras/object_imageattachments.html index 9c3c137a9..981927d45 100644 --- a/netbox/templates/extras/object_imageattachments.html +++ b/netbox/templates/extras/object_imageattachments.html @@ -27,6 +27,16 @@ alt="{{ object.description|default:object.name }}" /> + {% empty %} + +
+
+ +
{% trans "Thumbnail cannot be generated" %}
+
{% trans "Click to view original" %}
+
+
+
{% endthumbnail %}
{{ object }}