From a8de9d695d8cc0f45a86a148d99aedcd2f52271a Mon Sep 17 00:00:00 2001 From: Janne Koschinski <janne@kuschku.de> Date: Sat, 17 Mar 2018 21:36:19 +0100 Subject: [PATCH] Improved upload dialog --- templates/upload.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/upload.html b/templates/upload.html index bc01d19..08b68c3 100644 --- a/templates/upload.html +++ b/templates/upload.html @@ -27,6 +27,6 @@ {{ end }} <form action="/upload/" method="POST" enctype="multipart/form-data"> - <input type="file" name="file"/> + <input type="file" name="file" accept="image/jpeg,image/png,image/bmp,*.jpeg,*.jpg,*.png,*.bmp" multiple/> <input type="submit"/> </form> \ No newline at end of file -- GitLab