[Radiant] Radiant Factory
Daniel Sheppard
daniels at thegroggysquirrel.com
Sun Dec 2 23:58:54 CST 2007
> o It would be nice to have a convenient way to access
> images through the Admin interface and to easily
> (less typing, yet intuitive) 'markup' the images in
> the associated pages.
On my site, I've written my own text filter that replaces textile
image references with links to the image, so that:
!image.jpg!
would get replaced with
!/attachments/monkey.jpg!
before getting handed off to textile for regular processing.
Look at:
http://soxbox.no-ip.org/radiant/svn/extensions/x_groggy/lib/groggy_filter.rb
It also filters out a bunch of common characters from people cutting/pasting from word, the key bit is a page.attachments.each
Dan.
More information about the Radiant
mailing list