From 656555cd08e0739559df9c76c087e2fc1629fa0c Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 23 Dec 2023 16:59:05 +0700 Subject: [PATCH] Update posting_attachments.php --- library/attach_mod/posting_attachments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/attach_mod/posting_attachments.php b/library/attach_mod/posting_attachments.php index cc8267a6..68a80a46 100644 --- a/library/attach_mod/posting_attachments.php +++ b/library/attach_mod/posting_attachments.php @@ -1023,7 +1023,7 @@ class attach_parent $this->attach_filename = $new_physical_filename; // Do we have to create a thumbnail ? - if ($cat_id == IMAGE_CAT && intval($attach_config['img_create_thumbnail'])) + if ($cat_id == IMAGE_CAT && intval($attach_config['img_create_thumbnail']) && intval($attach_config['img_display_inlined'])) { $this->thumbnail = 1; }