[Radiant] How to add images to pages?

Keith Bingman keith at keithbingman.com
Mon Sep 4 14:16:53 CDT 2006


Once again, answered my own question: the included scripts do not  
make the thumb and large folders, these must be made or it breaks. It  
is easy to change this. Other than that, this is pretty slick.

Keith Bingman

On Sep 4, 2006, at 8:33 PM, Keith Bingman wrote:

> 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/.
> _______________________________________________
> Radiant mailing list
> Radiant at lists.radiantcms.org
> http://lists.radiantcms.org/mailman/listinfo/radiant




More information about the Radiant mailing list