0
0
Fork 0

Ensure link thumbnails are not stretched to super low quality (#5932)

This commit is contained in:
Eugen Rochko 2017-12-09 00:56:16 +01:00 committed by GitHub
parent 70ce2a2095
commit c36b9cc5a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 7 deletions

View file

@ -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