[Radiant] Extensions: Asset Manager Demo
Keith Bingman
keith at keithbingman.com
Tue Nov 21 04:37:45 CST 2006
John asked if I would make this public last week, so here it is. It
is very rough, basically just an assets manager built around
acts_as_attachment. I did include the RMagick thumbnail generation,
though this will kill your application on Textdrive. RMagick simply
uses too much memory. I want to look at shifting this over to
MiniMagick, but haven't gotten around to it.
I have included some very basic Radius tags for the uploads. Right
now, I have a wrap tag, <r:asset ></r:asset>, which takes a Name or
Id of the asset. Please look under lib/assets_tags.rb and see what is
available. They should be (mostly) commented.
I had some support for tagging the assets, but I took it our for now.
I need to get tagging support in general worked out before I put that
back in, but ultimately, I would like to be able to do something like
<r:assets:each tag="[tag_name"]>...</r:asssets:each>. Shouldn't be
too hard.
Feedback, suggestions and help greatly appreciated. Like I said, this
is just a very simple start.
http://www.keithbingman.com/svn/projects/radiant/extensions/assets
Keith Bingman
keith at keithbingman.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.radiantcms.org/pipermail/radiant/attachments/20061121/2b114424/attachment.html
More information about the Radiant
mailing list