diff --git a/httpd/fx/app/views/fx_view.kc3 b/httpd/fx/app/views/fx_view.kc3
index 0b28d2b..f93cfcd 100644
--- a/httpd/fx/app/views/fx_view.kc3
+++ b/httpd/fx/app/views/fx_view.kc3
@@ -43,7 +43,8 @@ defmodule FXView do
end
"""<pre class="#{size}">#{HTML.escape(file)}</pre>"""
else
- HTML.escape(mime)
+ desc = system(["file", "-b", path])
+ HTML.escape(desc)
end
end
"""<div class="#{size}">#{preview}<hr /></div>"""