Skip to content

Commit

Permalink
Another image size tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
janosrusiczki committed Aug 27, 2019
1 parent 7da7eb3 commit cbca6d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/uploaders/image_uploader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ImageUploader < Shrine
pipeline = ImageProcessing::MiniMagick.source(original)
versions[:large] = pipeline.resize_to_limit!(1920, 1920)
versions[:medium] = pipeline.resize_to_limit!(600, 600)
versions[:thumbnail] = pipeline.resize_to_fill!(100, 100)
versions[:thumbnail] = pipeline.resize_to_fill!(150, 150)
end
versions
end
Expand Down

0 comments on commit cbca6d4

Please sign in to comment.