[Radiant] How to add images to pages?
Keith Bingman
keith at keithbingman.com
Mon Sep 4 13:33:15 CDT 2006
dror tirosh wrote:
> I also did a multiple upload in an asynch background page_part, whcih I
> use
> afterwards to show galleries.
> This relies on the Rmagick package.
> And a small change to the routes.rb file.
>
> in your routes.rb add:
> # Upload Routes
> map.with_options(:controller => 'admin/upload') do |upload|
> upload.index 'upload',
> :action => 'index'
> upload.upload 'upload/upload',
> :action => 'upload'
> end
>
> put the upload_controller into app/controllers/admin
> the multiple_upload_part_type into app/page_part_types (or whereever you
> keep them)
> and the view.rar open into app/views/admin
> Hope I didn't forget anything
> Dror
A little late, but for some reason this does not work. The upload
indicator times out and then the images are not processed...
Keith Bingman
--
Posted via http://www.ruby-forum.com/.
More information about the Radiant
mailing list