Forum: Ruby on Rails Attachment fu plugin image upload

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
7694e527192e45b73b95f2ca41034463?d=identicon&s=25 Cyrus Dev (cyrusdev)
on 2009-02-06 10:26
Hello Everyone,

Anybody know how to upload multiple images using attachment fu plugin

thanks in advance
00973881979aa0a660ffbbb2f7a907fb?d=identicon&s=25 Peter De Berdt (Guest)
on 2009-02-06 11:59
(Received via mailing list)
On 06 Feb 2009, at 10:26, Cyrus Dev wrote:

> Anybody know how to upload multiple images using attachment fu plugin

attachment_fu is a model plugin, so it has nothing to do with multiple
file upload. That said, a simple google search brings up plenty of
tutorials on how to handle it in views and controller and pass it to
your attachment_fu powered model:

http://www.google.com/search?client=safari&rls=en-...


Best regards

Peter De Berdt
F790d6d3f1a75a30f6e525890f1d1964?d=identicon&s=25 tschundeee (Guest)
on 2009-02-06 13:58
(Received via mailing list)
I tried attachment_fu and paperclip and I can only recommend
paperclip... I think it's easier and more rails-like :-)
To your question: This guide looks good:
http://www.flex888.com/122/multiple-file-upload-wi...
I have in mind that acts_as_attachment and attachment_fu have the same
API so this should work for attachment_fu ;)

On Feb 6, 10:26 am, Cyrus Dev <rails-mailing-l...@andreas-s.net>
Ca0d1fa83b8d8f39a51c0f25b0f17336?d=identicon&s=25 Mathieu Rousseau (Guest)
on 2009-02-06 14:23
(Received via mailing list)
I used both: as far as I know paperclip only permits you to have 1
attachment per model. attachment_fu is more flexible about this.
am I wrong?
5772c599ccab3081e0fffb1d54f3b6de?d=identicon&s=25 Andrew Timberlake (andrewtimberlake)
on 2009-02-06 16:15
(Received via mailing list)
On Fri, Feb 6, 2009 at 3:23 PM, Mathieu Rousseau <
mathieu.rousseau.31@gmail.com> wrote:

> I used both: as far as I know paperclip only permits you to have 1
> attachment per model. attachment_fu is more flexible about this.
> am I wrong?
>

Paperclip allows more than one attachment per model

Andrew Timberlake
http://ramblingsonrails.com
http://www.linkedin.com/in/andrewtimberlake

"I have never let my schooling interfere with my education" - Mark Twain
Ca0d1fa83b8d8f39a51c0f25b0f17336?d=identicon&s=25 Mathieu Rousseau (Guest)
on 2009-02-06 17:28
(Received via mailing list)
It allows 1 - n ? Can I have a list of attachments associated to the
model?
or you have to add each attachment?

On Fri, Feb 6, 2009 at 1:14 PM, Andrew Timberlake <
This topic is locked and can not be replied to.