我正在使用Paperclip和Rails4。我有以下图片
现在我想调整大小和裁剪图像,但是它会被裁剪,图像的方向会像下面那样移位
:photo,
:path => ":rails_root/public/system/:attachment/:id/:style/:filename",
:url => "/system/:attachment/:id/:style/:filename",
:styles => {
:small => { :geometry => "100x100!" },
:medium => { :geometry => "500x500!"}
}