From 102c7a2b940bf40e5db7a4744935d5be69d9c72e Mon Sep 17 00:00:00 2001
From: Tanishq Dubey <dubey@dws.rip>
Date: Sat, 15 Mar 2025 20:08:29 -0400
Subject: [PATCH] more fixes

---
 src/rendering/image.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/rendering/image.py b/src/rendering/image.py
index 76f27ac..3fe7ee9 100644
--- a/src/rendering/image.py
+++ b/src/rendering/image.py
@@ -34,9 +34,9 @@ def generate_thumbnail(image_path, resize_percent, min_width, max_width):
             if orientation == 3:
                 img = img.rotate(180, expand=True)
             elif orientation == 6:
-                img = img.rotate(270, expand=True)
+                img = img.rotate(0, expand=True)
             elif orientation == 8:
-                img = img.rotate(270, expand=True)
+                img = img.rotate(180, expand=True)
         except (AttributeError, KeyError, IndexError):
             # cases: image don't have getexif
             exif = b""