diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-12-09 00:56:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-09 00:56:16 +0100 |
commit | c36b9cc5a6cf3feacb925213f5530c90dd31fa7a (patch) | |
tree | 295c8c1a1930c17b960d305d5b7571924294d023 /app/models | |
parent | 70ce2a20956347b42f0b55cfcde42b6e83aee400 (diff) |
Ensure link thumbnails are not stretched to super low quality (#5932)
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/preview_card.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/preview_card.rb b/app/models/preview_card.rb index 5baddba8a..716b82243 100644 --- a/app/models/preview_card.rb +++ b/app/models/preview_card.rb @@ -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 |