remove animated_gif and animated_png tags on create only #2960

This commit is contained in:
r888888888
2017-04-04 13:28:17 -07:00
parent b00ae71957
commit 0801c80662

View File

@@ -639,6 +639,7 @@ class Post < ActiveRecord::Base
return tags if !Danbooru.config.enable_dimension_autotagging
tags -= %w(incredibly_absurdres absurdres highres lowres huge_filesize flash webm mp4)
tags -= %w(animated_gif animated_png) if new_record?
if has_dimensions?
if image_width >= 10_000 || image_height >= 10_000