oops
This commit is contained in:
parent
7450638add
commit
3fc2d2c4fe
|
@ -728,7 +728,7 @@ class ImageBox(models.Model):
|
|||
m = 1
|
||||
path = join(MEDIA_ROOT, self.actual_unresized())
|
||||
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)
|
||||
'''
|
||||
context = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user