diff --git a/pandora/document/models.py b/pandora/document/models.py index 6e69575e0..99d357c52 100644 --- a/pandora/document/models.py +++ b/pandora/document/models.py @@ -244,7 +244,7 @@ class Document(models.Model): def get_ratio(self): if self.extension == 'pdf': - image = self.thumbnail() + image = self.thumbnail(1024) try: size = Image.open(image).size except: