summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-08-31 14:17:41 +0200
committerhukl <contact@smyck.org>2009-08-31 14:17:41 +0200
commite15b4259620a08b89ac390e7628c7e3081388526 (patch)
tree883a69fe6f371cd16860fc27cb84aa9f7c580b91
parenta9b003b7c3e636f32b7f031d12cf1aa41dbca1b9 (diff)
added cropped headline thumbnail
-rw-r--r--app/models/asset.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/models/asset.rb b/app/models/asset.rb
index 4a20d73..6f727ad 100644
--- a/app/models/asset.rb
+++ b/app/models/asset.rb
@@ -1,10 +1,11 @@
1class Asset < ActiveRecord::Base 1class Asset < ActiveRecord::Base
2
2 has_attached_file( 3 has_attached_file(
3 :upload, 4 :upload,
4 :styles => { 5 :styles => {
5 :normal => "450x450", 6 :medium => "300x300",
6 :medium => "300x300", 7 :thumb => "100x100",
7 :thumb => "100x100", 8 :headline => "530x250#"
8 } 9 }
9 ) 10 )
10 11