Permalink
Browse files

resize images so they'll fit in the main column

  • Loading branch information...
1 parent 6208ddb commit 82ad8d4ddd41f3207b6365aca3f875c7a3e86957 @chadburrus chadburrus committed Mar 29, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 config/initializers/rich.rb
@@ -28,7 +28,8 @@
# remember to do let Paperclip re-generate these by running
# rake paperclip:refresh CLASS=Rich::RichImage
config.image_styles = {
- :thumb => "100x100#"
+ :thumb => "100x100#",
+ :inline => "500x500>"
}
# == Allowed styles (in file manager)
@@ -47,7 +48,7 @@
# The style to insert by default. In addition to the
# styles defined above you can also use :original to get
# the unprocessed file. Make sure this style exists.
- config.default_style = :thumb
+ config.default_style = :inline
# == Asset insertion
#

0 comments on commit 82ad8d4

Please sign in to comment.