diff options
Diffstat (limited to 'nikola/image_processing.py')
| -rw-r--r-- | nikola/image_processing.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nikola/image_processing.py b/nikola/image_processing.py index b1d58c2..4ac6d93 100644 --- a/nikola/image_processing.py +++ b/nikola/image_processing.py @@ -142,7 +142,7 @@ class ImageProcessor(object): if w > max_size or h > max_size: size = max_size, max_size # Panoramas get larger thumbnails because they look *awful* - if bigger_panoramas and w > 2 * h: + if bigger_panoramas and w > 3 * h: size = min(w, max_size * 4), min(w, max_size * 4) try: im.thumbnail(size, Image.ANTIALIAS) @@ -189,7 +189,7 @@ class ImageProcessor(object): # calculate new size preserving aspect ratio. ratio = float(w) / h # Panoramas get larger thumbnails because they look *awful* - if bigger_panoramas and w > 2 * h: + if bigger_panoramas and w > 3 * h: max_size = max_size * 4 if w > h: w = max_size |
