oops
This commit is contained in:
parent
7450638add
commit
3fc2d2c4fe
|
@ -728,7 +728,7 @@ class ImageBox(models.Model):
|
||||||
m = 1
|
m = 1
|
||||||
path = join(MEDIA_ROOT, self.actual_unresized())
|
path = join(MEDIA_ROOT, self.actual_unresized())
|
||||||
f = open(path)
|
f = open(path)
|
||||||
size = str(int(self.width) * m) + "x" + str(int(self.height) * m)
|
size = str(int(self.width * m)) + "x" + str(int(self.height * m))
|
||||||
im = get_thumbnail(f, size, crop='center', quality=99)
|
im = get_thumbnail(f, size, crop='center', quality=99)
|
||||||
'''
|
'''
|
||||||
context = {
|
context = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user