Instead of making a form to upload one picture at a time, I''d like to have the File Column plugin accept a directory, and have each picture be uploaded and thumbnails created (w/ RMagick). Has anyone done this? Anyone have a good idea where to start if I were to do it on my own? Thanks, Ben Lisbakken -- Posted via http://www.ruby-forum.com/.
On 8/9/06, Ben Lisbakken <lisbakke@gmail.com> wrote:> Instead of making a form to upload one picture at a time, I''d like to > have the File Column plugin accept a directory, and have each picture be > uploaded and thumbnails created (w/ RMagick). > > Has anyone done this? > > Anyone have a good idea where to start if I were to do it on my own?Do browsers support uploading directories? I didn''t think they did. Joe
On 10 Aug 2006, at 04:41, Joe Van Dyk wrote:> On 8/9/06, Ben Lisbakken <lisbakke@gmail.com> wrote: >> Instead of making a form to upload one picture at a time, I''d like to >> have the File Column plugin accept a directory, and have each >> picture be >> uploaded and thumbnails created (w/ RMagick). >> >> Has anyone done this? >> >> Anyone have a good idea where to start if I were to do it on my own? > > Do browsers support uploading directories? I didn''t think they did.Exactly, you could offer support for uploading compressed archives such as a zip file, which then can contain a folder of images (or just the images). And yes, you would have to code this yourself, integrate it with file column and be so nice to share it with the rest of the community ;-) Best regards Peter De Berdt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060810/592b69d1/attachment.html
> > > > Anyone have a good idea where to start if I were to do it on my own? > > Do browsers support uploading directories? I didn''t think they did. > > JoeThey don''t. Max
let your users upload zip files alternatively 2006/8/10, Max Muermann <ruby@muermann.org>:> > > > > > > Anyone have a good idea where to start if I were to do it on my own? > > > > Do browsers support uploading directories? I didn''t think they did. > > > > Joe > > They don''t. > > Max > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Michael Siebert <info@siebert-wd.de> www.stellar-legends.de - Weltraum-Browsergame im Alpha-Stadium -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060810/c07e3b90/attachment.html