diff --git a/app/models/post.rb b/app/models/post.rb index 3dc7e6be5..770c36d6d 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -176,7 +176,9 @@ class Post < ActiveRecord::Base end def has_large? - is_ugoira? || (is_image? && image_width.present? && image_width > Danbooru.config.large_image_width) + return false if has_tag?("animated_gif|animated_png") + return true if is_ugoira? + is_image? && image_width.present? && image_width > Danbooru.config.large_image_width end def has_large