Dan,

> >              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

  This is nice and I would like to try it. Sorry for my dumb question. 
Where exactly should I add this code? I have installed Radiant using
the 'gem'med version. Do I have to get into 
sub-directories under /usr/lib/ruby/gems ? 

saji
-- 
Saji N. Hameed

APEC Climate Center                                     +82 51 668 7470
National Pension Corporation Busan Building 12F         
Yeonsan 2-dong, Yeonje-gu, BUSAN 611705                 [EMAIL PROTECTED]
KOREA
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to