summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2016-11-03 09:03:49 -0400
committerluxagraf <sng@luxagraf.net>2016-11-03 09:03:49 -0400
commit6df481fbf7e119a74ce27f725590d0845c32d03c (patch)
treec7cc4aeaf5fe488f08682b3fdcb1f68c67a51871
parent9b5664e15b7ffc32d2a8e71fe7131b168b0fc95a (diff)
bug fixes
-rw-r--r--app/photos/forms.py6
-rw-r--r--design/sass/_homepage.scss2
2 files changed, 4 insertions, 4 deletions
diff --git a/app/photos/forms.py b/app/photos/forms.py
index 3d88182..9fd5529 100644
--- a/app/photos/forms.py
+++ b/app/photos/forms.py
@@ -155,9 +155,9 @@ class UploadZipForm(forms.Form):
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))
- image.sizes.add(LuxImageSize.objects.get(width=800))
- image.sizes.add(LuxImageSize.objects.get(width=460))
+ image.sizes.add(LuxImageSize.objects.get(height=1600))
+ image.sizes.add(LuxImageSize.objects.get(height=800))
+ image.sizes.add(LuxImageSize.objects.get(height=460))
image.save()
gallery.images.add(image)
diff --git a/design/sass/_homepage.scss b/design/sass/_homepage.scss
index 2d339bd..b0efd4e 100644
--- a/design/sass/_homepage.scss
+++ b/design/sass/_homepage.scss
@@ -252,7 +252,7 @@
}
.banner .post--image {
@include breakpoint(gamma) {
- max-height: 600px;
+ max-height: 800px;
overflow: hidden;
}
}