From 865579655fce3355a010a9edf621201f7229a3d5 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Sun, 31 Mar 2019 21:34:40 +0200 Subject: [PATCH] Handle GIF attachments Not sure whether providing a download link for attached images is the right thing to do - we should probably just display them like inline images. But we can always change that by a simple change of the template. --- templates/attachment_image_gif.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 templates/attachment_image_gif.html diff --git a/templates/attachment_image_gif.html b/templates/attachment_image_gif.html new file mode 100644 index 0000000..129dced --- /dev/null +++ b/templates/attachment_image_gif.html @@ -0,0 +1,8 @@ +
+
+ image/gif +
+
+ {{name}} +
+