summaryrefslogtreecommitdiff
path: root/app/photos
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2016-11-02 11:41:08 -0400
committerluxagraf <sng@luxagraf.net>2016-11-02 11:41:08 -0400
commit9a044c66c5f2e201ac4d264909e8f8b62e288818 (patch)
tree657c39368be6a02d161e1af81e0ae315f7dbbb3d /app/photos
parentf54254e060fe9c92ed767f9c7a754e98449aee4a (diff)
fixed image size error on form
Diffstat (limited to 'app/photos')
-rw-r--r--app/photos/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/photos/forms.py b/app/photos/forms.py
index 06e829d..3d88182 100644
--- a/app/photos/forms.py
+++ b/app/photos/forms.py
@@ -152,7 +152,7 @@ class UploadZipForm(forms.Form):
img = Image.open(image.image.path)
if img.size[0] > img.size[1]:
image.sizes.add(LuxImageSize.objects.get(width=2560))
- image.sizes.add(LuxImageSize.objects.get(width=1140))
+ image.sizes.add(LuxImageSize.objects.get(width=1170))
image.sizes.add(LuxImageSize.objects.get(width=720))
if img.size[1] > img.size[0]:
image.sizes.add(LuxImageSize.objects.get(width=1600))