0

是否可以使用回形针为图像设置相对大小?是否存在这样的东西?

  :medium => "50x50%"
4

1 回答 1

0

请参阅以下链接,我认为它会帮助您观看调整大小选项
https://github.com/thoughtbot/paperclip/wiki/Thumbnail-Generation

并且有以下链接示例

http://www.imagemagick.org/Usage/resize
http://www.imagemagick.org/Usage/resize/#percent

谢谢。

于 2012-04-26T09:33:18.877 回答