Sharpen small and medium thumbnails

closes #7924
This commit is contained in:
Bennett Goble 2018-11-03 18:03:09 -07:00 committed by Benjamin Neff
parent 2c56e447ed
commit 935ff66c96
No known key found for this signature in database
GPG key ID: 971464C3F1A90194
2 changed files with 3 additions and 2 deletions

View file

@ -4,6 +4,7 @@
* Make setting up a development environment 9001% easier by adding a Docker-based setup [#7870](https://github.com/diaspora/diaspora/pull/7870)
* Improve `web+diaspora://` handler description [#7909](https://github.com/diaspora/diaspora/pull/7909)
* Move comment timestamp next to author name [#7905](https://github.com/diaspora/diaspora/pull/7905)
* Sharpen small and medium thumbnails [#7924](https://github.com/diaspora/diaspora/pull/7924)
## Bug fixes
* Ignore invalid URLs for camo [#7922](https://github.com/diaspora/diaspora/pull/7922)

View file

@ -20,10 +20,10 @@ class ProcessedImage < CarrierWave::Uploader::Base
end
version :thumb_small do
process resize_to_fill: [50, 50]
process resize_to_fill: [50, 50, combine_options: {unsharp: "1.5x1+0.7+0.02"}]
end
version :thumb_medium do
process resize_to_limit: [100, 100]
process resize_to_limit: [100, 100, combine_options: {unsharp: "1.5x1+0.7+0.02"}]
end
version :thumb_large do
process resize_to_limit: [300, 1500]