From ce8c8e1ab7d6ca6f3d7b218e44132c0b0386ed23 Mon Sep 17 00:00:00 2001 From: nonamethanks Date: Wed, 22 Sep 2021 11:16:45 +0200 Subject: [PATCH] Posts: stop autotagging long_image --- app/models/post.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/models/post.rb b/app/models/post.rb index 40babeb7e..104b7825a 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -514,10 +514,8 @@ class Post < ApplicationRecord if image_width >= 1024 && image_width.to_f / image_height >= 4 tags << "wide_image" - tags << "long_image" elsif image_height >= 1024 && image_height.to_f / image_width >= 4 tags << "tall_image" - tags << "long_image" end if file_size >= 10.megabytes