Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Shrinking the size of the thumbnails as they were huge even on my hidpi screen

Daniel Quinne63e9e389eda
diff --git a/src/documents/admin.py b/src/documents/admin.py
index e21abfb87..8724236a8 100644
--- a/src/documents/admin.py
+++ b/src/documents/admin.py
@@ -64,7 +64,7 @@ class DocumentAdmin(admin.ModelAdmin):
png_img = self._html_tag(
"img",
src="/fetch/thumb/{}".format(obj.id),
- width=275,
+ width=180,
alt="thumbnail",
title=obj.file_name
)