Permalink
Browse files

Added compact size between 160 240

  • Loading branch information...
1 parent b2ee0a3 commit 354f2828c6511959391338fef656c9e028ad2b44 @tobi committed Dec 10, 2009
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/transformations/sizes.rb
@@ -14,6 +14,10 @@
image.change_geometry("100x100>") { |x, y, image| image.resize!(x,y) }
end
+Transformations.register :compact do |image|
+ image.change_geometry("160x160>") { |x, y, image| image.resize!(x,y) }
+end
+
Transformations.register :medium do |image|
image.change_geometry("240x240>") { |x, y, image| image.resize!(x,y) }
end

0 comments on commit 354f282

Please sign in to comment.