diff --git a/app/models/image.rb b/app/models/image.rb index 05e1f7c..8e6f30b 100644 --- a/app/models/image.rb +++ b/app/models/image.rb @@ -9,15 +9,15 @@ class Image < ActiveRecord::Base has_attachment :content_type => :image, :storage => :file_system, :path_prefix => 'public/image_uploads', - :resize_to => '320x200>', + :resize_to => '800x600>', :thumbnails => { :big => '150x150', :thumb => '100x100', :portrait => '64x64', :minor => '50x50', :icon => '20x20!' }, - :max_size => 500.kilobytes # remember to update validate message below + :max_size => 5.megabytes # remember to update validate message below - validates_attachment :size => N_("%{fn} of uploaded file was larger than the maximum size of 500.0 KB") + validates_attachment :size => N_("%{fn} of uploaded file was larger than the maximum size of 5.0 MB") delay_attachment_fu_thumbnails -- libgit2 0.21.2