我正在尝试将样式应用于回形针上传的图像,以保存原始图像和缩略图。
has_attached_file :image, styles => { :thumb => "100x100", :original => "100%"},
:path => "images/:id/:style_:basename.:extension"
不工作,它只保存原来的,即使我删除了:original => "100%"
部分。我已经安装了ImageMagick和gem rmagick
。
:拇指=>"100 x100"s/b:拇指=> " 100 x100> "
你忘了>
见医生:https://github.com/thoughtbot/paperclip
remove this :original => "100%"