[Radiant] How to add images to pages?
dror tirosh
dtirosh at gmail.com
Mon Sep 4 16:17:52 CDT 2006
Sorry,
This is mainly for my own use, the script is only there for the
page_part_type, any actual page_part you use doesn't have any script for it.
But for most the code is pretty simple so you obviously figured it out from
there.
Dror
On 9/4/06, Keith Bingman <keith at keithbingman.com> wrote:
>
> 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
>
> _______________________________________________
> Radiant mailing list
> Radiant at lists.radiantcms.org
> http://lists.radiantcms.org/mailman/listinfo/radiant
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.radiantcms.org/pipermail/radiant/attachments/20060904/e469cf60/attachment.html
More information about the Radiant
mailing list