summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2015-12-15 13:14:24 -0500
committerluxagraf <sng@luxagraf.net>2015-12-15 13:14:24 -0500
commitd857af060e2b92b7e5b994cd2ba563491b203290 (patch)
treea49c94a584cda2094cf91ed823c907ccbab6c4b3
parente3887521d2f00287f4c30c8a0c43b84125414d6f (diff)
added a thumbnail function for admin images
-rw-r--r--app/photos/forms.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/photos/forms.py b/app/photos/forms.py
index 6e299cd..f12ce42 100644
--- a/app/photos/forms.py
+++ b/app/photos/forms.py
@@ -172,6 +172,7 @@ class UploadZipForm(forms.Form):
resize_image(img, 2280, None, 65, base_path+'large/', image.get_image_name())
resize_image(img, 1140, None, 72, base_path+'medium/', image.get_image_name())
resize_image(img, 720, None, 68, base_path+'small/', image.get_image_name())
+ resize_image(img, 160, None, 68, base_path+'thumb/', image.get_image_name())
zipper.close()