# How do I upload multiple pictures with attachment\_fu

**URL:** <https://www.ruby-forum.com/t/how-do-i-upload-multiple-pictures-with-attachment-fu/126059>\
**Category:** Rails\
**Created:** [January 15, 2008, 4:22am UTC](https://www.ruby-forum.com/t/how-do-i-upload-multiple-pictures-with-attachment-fu/126059 "2008-01-15T04:22:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jvazquez](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/858c86/32.png) [@jvazquez](https://www.ruby-forum.com/u/jvazquez)\
**Post date:** [January 15, 2008, 4:22am UTC](https://www.ruby-forum.com/t/how-do-i-upload-multiple-pictures-with-attachment-fu/126059/1 "2008-01-15T04:22:43Z")

</div>

how would I upload multiple pictures on one form with attachment\_fu. I  
followed the tutorial on [http://clarkware.com/cgi/blosxom/2007/02/24](http://clarkware.com/cgi/blosxom/2007/02/24)  
and I am able to upload one picture fine. I am just needing to upload  
a bunch of them at the same time. Any suggestions?

Thanks

---

<div class="post-metadata">

**Author:** ![jvazquez](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/858c86/32.png) [@jvazquez](https://www.ruby-forum.com/u/jvazquez)\
**Post date:** [January 15, 2008, 5:10am UTC](https://www.ruby-forum.com/t/how-do-i-upload-multiple-pictures-with-attachment-fu/126059/2 "2008-01-15T05:10:03Z")

</div>

I had the same question earlier this morning.

Check out:

> **[\#73 Complex Forms Part 1 - RailsCasts](http://railscasts.com/episodes/73-complex-forms-part-1)**
>
> Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.

> **[\#74 Complex Forms Part 2 - RailsCasts](http://railscasts.com/episodes/74-complex-forms-part-2)**
>
> Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.

> **[\#75 Complex Forms Part 3 - RailsCasts](http://railscasts.com/episodes/75-complex-forms-part-3)**
>
> Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.

This should help 🙂 it helped me.

Luke

jvazquez wrote:

> how would I upload multiple pictures on one form with attachment\_fu. I  
> followed the tutorial on [http://clarkware.com/cgi/blosxom/2007/02/24](http://clarkware.com/cgi/blosxom/2007/02/24)  
> and I am able to upload one picture fine. I am just needing to upload  
> a bunch of them at the same time. Any suggestions?
> 
> Thanks

---

<div class="post-metadata">

**Author:** ![jvazquez](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/858c86/32.png) [@jvazquez](https://www.ruby-forum.com/u/jvazquez)\
**Post date:** [January 16, 2008, 2:42am UTC](https://www.ruby-forum.com/t/how-do-i-upload-multiple-pictures-with-attachment-fu/126059/3 "2008-01-16T02:42:48Z")

</div>

Excellent! Thank you very much!

---

<div class="post-metadata">

**Author:** ![jvazquez](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/858c86/32.png) [@jvazquez](https://www.ruby-forum.com/u/jvazquez)\
**Post date:** [January 16, 2008, 6:15am UTC](https://www.ruby-forum.com/t/how-do-i-upload-multiple-pictures-with-attachment-fu/126059/4 "2008-01-16T06:15:32Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

Can you tell me a way which degrades gracefully,  
and works in js disabled browsers too?

Luke G. wrote:

> jvazquez wrote:
> 
> > how would I upload multiple pictures on one form with attachment\_fu. I  
> > followed the tutorial on [http://clarkware.com/cgi/blosxom/2007/02/24](http://clarkware.com/cgi/blosxom/2007/02/24)  
> > and I am able to upload one picture fine. I am just needing to upload  
> > a bunch of them at the same time. Any suggestions?
> > 
> > Thanks

-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1.4.7-ecc0.1.6 (GNU/Linux)  
Comment: Using GnuPG with Mozilla - [http://enigmail.mozdev.org](http://enigmail.mozdev.org)

iD8DBQFHjZNE3wXhgdYt4jgRApdCAJ4oGA+i9brh11fbMMcRXr+KNi1G0gCeJrKK  
Xv1mmEir7OmXV1DrW1Q6dds=  
=7j5V  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![jvazquez](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/858c86/32.png) [@jvazquez](https://www.ruby-forum.com/u/jvazquez)\
**Post date:** [January 16, 2008, 10:24am UTC](https://www.ruby-forum.com/t/how-do-i-upload-multiple-pictures-with-attachment-fu/126059/5 "2008-01-16T10:24:43Z")

</div>

Since you can’t dynamically add new elements without javascript,  
you’ll have to resort to either building a few file upload fields in  
your view from the start or just make them upload them one by one.

On 16 Jan 2008, at 06:16, Richard Abonyi wrote:

> > > a bunch of them at the same time. Any suggestions?  
> > > Best regards

Peter De Berdt

---

<div class="post-metadata">

**Author:** ![jvazquez](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/858c86/32.png) [@jvazquez](https://www.ruby-forum.com/u/jvazquez)\
**Post date:** [March 25, 2008, 2:54pm UTC](https://www.ruby-forum.com/t/how-do-i-upload-multiple-pictures-with-attachment-fu/126059/6 "2008-03-25T14:54:42Z")

</div>

hi,

do you know how to make multiple file uploads with attachment\_fu,  
and if yes, can you explain please,  
we can do an exchange, i have a search screencast for rails very good

let me know

thanks  
fabian

On Jan 15, 12:10 am, Luke G. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
