我已經在我的模型下面的代碼:的Rails 3.0.1和回形針 - 圖像不調整
has_attached_file :photo, :styles => { :small => "150x150#" }, :storage => :s3, :s3_credentials => "#{RAILS_ROOT}/config/s3.yml", :path => "/photo/:id/:style/:filename", :s3_headers => { 'Cache-Control' => 'max-age=315576000', 'Expires' => 10.years.from_now.httpdate }
當圖像被上傳,只有原來的保存,樣式不工作。沒有生成小文件。
假設你有rmagick安裝? – scaney 2010-11-29 18:32:54