diff --git a/server/go/camlistored/ui/blobinfo.js b/server/go/camlistored/ui/blobinfo.js
index 50753522b..cba3ef603 100644
--- a/server/go/camlistored/ui/blobinfo.js
+++ b/server/go/camlistored/ui/blobinfo.js
@@ -47,8 +47,13 @@ function blobInfoUpdate(bmap) {
bd.innerHTML = "";
var fileName = finfo.fileName || blobref;
bd.firstChild.href = "./download/" + blobref + "/" + fileName;
- bd.firstChild.innerText = fileName;
- bd.innerHTML = "[download: " + bd.innerHTML + "]";
+ if (binfo.file.mimeType.indexOf("image/") == 0) {
+ img = "";
+ bd.firstChild.innerHTML = img;
+ } else {
+ bd.firstChild.innerText = fileName;
+ bd.innerHTML = "[download: " + bd.innerHTML + "]";
+ }
} catch (x) {
}
}