mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
remove 'crop_tall_images' site setting but keep the behavior
This commit is contained in:
@@ -35,7 +35,7 @@ class Upload < ActiveRecord::Base
|
||||
opts = {
|
||||
filename: self.original_filename,
|
||||
allow_animation: SiteSetting.allow_animated_thumbnails,
|
||||
crop: crop && SiteSetting.crop_tall_images
|
||||
crop: crop
|
||||
}
|
||||
|
||||
if thumbnail = OptimizedImage.create_for(self, width, height, opts)
|
||||
|
||||
Reference in New Issue
Block a user