Drop tif, tiff, webp and bmp from supported images.

https://meta.discourse.org/t/cr2-raw-files-are-being-treated-as-tiff-files/96775/3?u=tgxworld
This commit is contained in:
Guo Xiang Tan
2018-09-10 10:49:01 +08:00
parent e1b16e445e
commit 71caf7521d
3 changed files with 22 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class FileHelper
end
def self.supported_images
@@supported_images ||= Set.new %w{jpg jpeg png gif tif tiff bmp svg webp ico}
@@supported_images ||= Set.new %w{jpg jpeg png gif svg ico}
end
def self.supported_images_regexp