posts: remove cropped thumbnails.
This commit is contained in:
@@ -92,10 +92,6 @@ class MediaFile::Image < MediaFile
|
||||
resize(w, h, size: :force, **options)
|
||||
end
|
||||
|
||||
def crop(max_width, max_height, **options)
|
||||
resize(max_width, max_height, crop: :attention, **options)
|
||||
end
|
||||
|
||||
def preview_frame
|
||||
if is_animated?
|
||||
FFmpeg.new(file).smart_video_preview
|
||||
|
||||
Reference in New Issue
Block a user