resize full scaled image to a specific width #3793

This commit is contained in:
Diaspora Europe 2013-01-26 11:36:01 +01:00
parent d5de50c255
commit e8d86f09bb
3 changed files with 2 additions and 3 deletions

View file

@ -44,6 +44,7 @@
* Fix reshare a post multiple times. [#3831](https://github.com/diaspora/diaspora/issues/3671)
* Fix services index view. [#3884](https://github.com/diaspora/diaspora/issues/3884)
* Excesive padding with "user-controls" in single post view. [#3861](https://github.com/diaspora/diaspora/issues/3861)
* Resize full scaled image to a specific width. [#3818](https://github.com/diaspora/diaspora/issues/3818)
## Gem Updates

View file

@ -28,8 +28,6 @@
@include box-shadow(0, 10px, 20px, black);
top: 0;
display: block;
max-width: 800px;
max-height: 800px;
margin-bottom: 120px;
}

View file

@ -30,7 +30,7 @@ class ProcessedImage < CarrierWave::Uploader::Base
process :strip
end
version :scaled_full do
process :resize_to_limit => [700,700]
process :resize_to_limit => [700,nil]
process :strip
end