diff --git a/templates/base.html b/templates/base.html
index 8b29c3e500..c5f8a3908f 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -79,7 +79,9 @@
diff --git a/utils.py b/utils.py
index c02a99d080..a385afde68 100644
--- a/utils.py
+++ b/utils.py
@@ -33,7 +33,7 @@ MAX_INT = 2147483647
PREVIEW_FILEEXT = {
'Text': ('ac', 'am', 'bat', 'c', 'cc', 'cmake', 'cpp', 'cs', 'css', 'diff', 'el', 'h', 'html', 'htm', 'java', 'js', 'json', 'less', 'make', 'org', 'php', 'pl', 'properties', 'py', 'rb', 'scala', 'script', 'sh', 'sql', 'txt', 'text', 'tex', 'vi', 'vim', 'xhtml', 'xml'),
- 'Image': ('gif', 'jpeg', 'jpg', 'png'),
+ 'Image': ('gif', 'jpeg', 'jpg', 'png', 'ico'),
'Document': ('doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx'),
'SVG': ('svg',),
'PDF': ('pdf',),