posts: remove cropped thumbnails.

This commit is contained in:
evazion
2021-12-16 15:54:26 -06:00
parent 379775d10d
commit 1c5786d20f
10 changed files with 7 additions and 62 deletions

View File

@@ -181,17 +181,6 @@ class MediaFile
nil
end
# Return a cropped preview version of the file, sized to fit exactly within
# the given width and height.
#
# @param width [Integer] the width of the cropped image
# @param height [Integer] the height of the cropped image
# @param options [Hash] extra options when generating the preview
# @return [MediaFile] a cropped preview file
def crop(width, height, **options)
nil
end
def attributes
{
path: path,