aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2014-02-17 09:39:02 +0100
committerHarald Eilertsen <haraldei@anduin.net>2014-02-17 09:39:02 +0100
commitb3754a781fe7e43c0babb23e3a616236bdf81236 (patch)
tree4546d2f7111ba080b77de6b79ca52c9c992fdc51
parentaa31752c0ef851cdc37c3b7e63712efcab4f1126 (diff)
downloadhmnoweb-b3754a781fe7e43c0babb23e3a616236bdf81236.tar.gz
hmnoweb-b3754a781fe7e43c0babb23e3a616236bdf81236.tar.bz2
hmnoweb-b3754a781fe7e43c0babb23e3a616236bdf81236.zip
Add specieal image size for teaser images.
-rw-r--r--config/initializers/refinery/images.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/refinery/images.rb b/config/initializers/refinery/images.rb
index 58c01ff..47005f0 100644
--- a/config/initializers/refinery/images.rb
+++ b/config/initializers/refinery/images.rb
@@ -14,7 +14,7 @@ Refinery::Images.configure do |config|
# config.pages_per_admin_index = 20
# Configure image sizes
- # config.user_image_sizes = {:small=>"110x110>", :medium=>"225x255>", :large=>"450x450>"}
+ config.user_image_sizes = {:teaser=>"075x075>", :small=>"110x110>", :medium=>"225x255>", :large=>"450x450>"}
# Configure white-listed mime types for validation
# config.whitelisted_mime_types = ["image/jpeg", "image/png", "image/gif", "image/tiff"]