Ensure link thumbnails are not stretched to super low quality (#5932)
This commit is contained in:
parent
70ce2a2095
commit
c36b9cc5a6
3 changed files with 12 additions and 7 deletions
|
@ -33,7 +33,7 @@ class PreviewCard < ApplicationRecord
|
|||
|
||||
has_and_belongs_to_many :statuses
|
||||
|
||||
has_attached_file :image, styles: { original: '280x280>' }, convert_options: { all: '-quality 80 -strip' }
|
||||
has_attached_file :image, styles: { original: '400x400>' }, convert_options: { all: '-quality 80 -strip' }
|
||||
|
||||
include Attachmentable
|
||||
include Remotable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue