From 6f3c61d8f2c2dcbfae0c2998ac2aa681ec6d12f7 Mon Sep 17 00:00:00 2001 From: Steffen van Bergerem Date: Wed, 22 Mar 2017 11:25:41 +0100 Subject: [PATCH] Increase maximal height of large thumbnail Fixes #6248, supersedes #6244. closes #7383 --- Changelog.md | 1 + app/uploaders/processed_image.rb | 9 ++++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Changelog.md b/Changelog.md index 0ce0422ef..54e1866bb 100644 --- a/Changelog.md +++ b/Changelog.md @@ -4,6 +4,7 @@ * Remove unused setPreload function [#7354](https://github.com/diaspora/diaspora/pull/7354) * Remove jQuery deprecations [#7356](https://github.com/diaspora/diaspora/pull/7356) * Use empty selector where "#" was used as a selector before (prepare jQuery 3 upgrade) [#7372](https://github.com/diaspora/diaspora/pull/7372) +* Increase maximal height of large thumbnail on mobile [#7383](https://github.com/diaspora/diaspora/pull/7383) ## Bug fixes * Don't hide posts when blocking someone from the profile [#7379](https://github.com/diaspora/diaspora/pull/7379) diff --git a/app/uploaders/processed_image.rb b/app/uploaders/processed_image.rb index 71bae76a1..68b540cf9 100644 --- a/app/uploaders/processed_image.rb +++ b/app/uploaders/processed_image.rb @@ -18,16 +18,15 @@ class ProcessedImage < CarrierWave::Uploader::Base end version :thumb_small do - process :resize_to_fill => [50,50] + process resize_to_fill: [50, 50] end version :thumb_medium do - process :resize_to_limit => [100,100] + process resize_to_limit: [100, 100] end version :thumb_large do - process :resize_to_limit => [300,300] + process resize_to_limit: [300, 1500] end version :scaled_full do - process :resize_to_limit => [700,nil] + process resize_to_limit: [700, nil] end - end