没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > asset-fury |
asset-fury
|
0 | 0 | 9 |
贡献者 | 讨论 | 代码提交 |
概述
This is Not a Working VersionThis plugin tries to bring in the best of attachment_fu and is_attachment into one plugin with much more flexibility in thumbnail managment.
Wether attachment_fu or is_attachment asset and their generated thumbnail are much to tightly coupled in my opinion.
The basic idea is to be able to do this when you want to add a none standard thumbnail to your asset without recreating the hole set of thumbnails (with attachment_fu you need to tweak options to do that) :
@asset = Asset.find_by_name('my_cat_in_the_washing_machine.jpg')
@image = Image.new(:medium=>'150x'}
@asset << @image
@asset.saveOr you may wish to update a given thumbnail individually :
@image = Image.find(123)
@image.update()
创建时间:2014-05-07 20:37