aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/attachment.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/templates/attachment.html b/src/templates/attachment.html
index 4c7731c..33c452a 100644
--- a/src/templates/attachment.html
+++ b/src/templates/attachment.html
@@ -1,4 +1,5 @@
<h2>Attachment {{id}}</h2><br/>
-<img src="{{path}}" style="display:span;float:none;" width="440"/>
+<img src="{{path}}" style="float:none;" width="{{img-width}}"/>
+<p><a href="{{path}}">{{filename}}</a></p>
<p style="text-indent:5px;"><b>Alt:</b> {{alt-text}}</p>
<hr width="80%" />