Commit 8a72dcba6eac1ab043a8030dba3afd454fb124de

Authored by Daniela Feitosa
Committed by Antonio Terceiro
1 parent d8b59c1a

ActionItem1057: resizing file only if it is bigger

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/uploaded_file.rb
... ... @@ -10,7 +10,7 @@ class UploadedFile < Article
10 10 # :min_size => 2.megabytes
11 11 # :max_size => 5.megabytes
12 12 has_attachment :storage => :file_system,
13   - :thumbnails => { :icon => [24,24], :thumb => '130x130>', :display => [640,480] },
  13 + :thumbnails => { :icon => [24,24], :thumb => '130x130>', :display => '640X480>' },
14 14 :thumbnail_class => Thumbnail,
15 15 :max_size => 5.megabytes
16 16  
... ...