From e3a9385e2a0c37e1b92b082c6f5b30282b0c4fe4 Mon Sep 17 00:00:00 2001 From: Sigurd Gartmann Date: Sun, 12 Jun 2011 22:30:26 +0200 Subject: [PATCH] scale thumbnails by css --- fileupload/static/thumbnail-scaling.css | 3 +++ fileupload/templates/fileupload/picture_form.html | 1 + 2 files changed, 4 insertions(+) create mode 100644 fileupload/static/thumbnail-scaling.css diff --git a/fileupload/static/thumbnail-scaling.css b/fileupload/static/thumbnail-scaling.css new file mode 100644 index 0000000..0d31b73 --- /dev/null +++ b/fileupload/static/thumbnail-scaling.css @@ -0,0 +1,3 @@ +table.files td.preview img { + height: 50px; +} diff --git a/fileupload/templates/fileupload/picture_form.html b/fileupload/templates/fileupload/picture_form.html index b2143c2..19c389e 100644 --- a/fileupload/templates/fileupload/picture_form.html +++ b/fileupload/templates/fileupload/picture_form.html @@ -19,6 +19,7 @@ +