我已经在我的模型下面的代码:的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