From 049fcb2dceca7c80e19a8d37d38a1074a811a2bd Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 29 Aug 2020 09:55:31 +0200 Subject: [PATCH] Keep EXIF on processed images --- attachments/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/attachments/models.py b/attachments/models.py index 2d9573a..50159c0 100644 --- a/attachments/models.py +++ b/attachments/models.py @@ -42,6 +42,7 @@ class Attachment(models.Model): "resize": 3, "resize_width": 640, "resize_height": 10000, + "keep_exif": 1, "file_paths": json.dumps( [f"{self.original_file.name}:{self.original_file.path}"] ),