Plugin for uploading a folder of images?

Hi - can anyone recommend a plugin/gem for uploading a bunch of image
files at once, and converting them to attachments? Ideally one that lets
you select a folder and then uploads all of the images in that folder?

thanks, max

On 09 Mar 2010, at 11:53, Max W. wrote:

Hi - can anyone recommend a plugin/gem for uploading a bunch of image
files at once, and converting them to attachments? Ideally one that
lets
you select a folder and then uploads all of the images in that folder?

Google “rails multiple upload”. We personally use SWFupload (which you
have to manually code into the app using Javascript to make it behave
the way you want it too, but there are some example projects on github
afaik). It won’t allow to select a folder, but you can easily select
all (valid) files in a folder with Command/Control-A (select all) and
queue them for upload through this Flash based uploader. Gives you
clientside validation before uploading as well as progress bars if you
want it to.

Best regards

Peter De Berdt

Thanks Peter. I did try googling but didn’t see anything leap out at
me, that’s why i asked for recommendations. I’ll check SWFupload out.
Happy for any other suggestions :slight_smile:

On 09 Mar 2010, at 14:20, Max W. wrote:

Thanks Peter. I did try googling but didn’t see anything leap out at
me, that’s why i asked for recommendations. I’ll check SWFupload out.
Happy for any other suggestions :slight_smile:

If you use SWFupload and Rails with Rack Middleware (more recent
versions), make sure you use the flash_session_cookie_middleware as
well as the cookie script from SWFupload if you want to persist
sessions with the uploads: http://pastie.org/861481

Best regards

Peter De Berdt

i’ll bear that in mind, thanks a lot.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs