# image uploading

**URL:** <https://discuss.rubyonrails.org/t/image-uploading/20107>\
**Category:** rubyonrails-talk\
**Created:** [November 6, 2007, 4:29am UTC](https://discuss.rubyonrails.org/t/image-uploading/20107 "2007-11-06T04:29:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![shybe](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@shybe](https://discuss.rubyonrails.org/u/shybe)\
**Post date:** [November 6, 2007, 4:29am UTC](https://discuss.rubyonrails.org/t/image-uploading/20107/1 "2007-11-06T04:29:01Z")

</div>

I'm Building an application where i need users to be able to upload an image with blog posts, and in another section I need the user to upload multiple images.

> From what I've read "attachment\_fu" is the way to go,

but there are no tutorials for it, the main tutorial page is down. I'm New to ROR, and pretty much have a grip on controllers, models and views, but the image uploading thing is greek to me.

Can someone point me in the right direction?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Beate\_Paland](https://avatars.discourse-cdn.com/v4/letter/b/c37758/32.png) [@Beate\_Paland](https://discuss.rubyonrails.org/u/Beate_Paland)\
**Post date:** [November 6, 2007, 1:05pm UTC](https://discuss.rubyonrails.org/t/image-uploading/20107/2 "2007-11-06T13:05:10Z")

</div>

Hi,

---

<div class="post-metadata">

**Author:** ![fredistic](https://avatars.discourse-cdn.com/v4/letter/f/a8b319/32.png) [@fredistic](https://discuss.rubyonrails.org/u/fredistic)\
**Post date:** [November 6, 2007, 1:12pm UTC](https://discuss.rubyonrails.org/t/image-uploading/20107/3 "2007-11-06T13:12:39Z")

</div>

Here is some stuff on attachment\_fu: [http://clarkware.com/cgi/blosxom/2007/02/24#FileUploadFu](http://clarkware.com/cgi/blosxom/2007/02/24#FileUploadFu)

I've decided that the \_fu part stands for File Upload and probably not Kung Fu or FuBar.

If you search this newsgroup for attachment\_fu you'll see lots of people have questions about it. There is something that is not easy. I'm running into trouble with the simple migration it requires.

And I can't fix it and this group is no help (yet).

fredistic

---

<div class="post-metadata">

**Author:** ![Gianluca\_Tessarolo](https://avatars.discourse-cdn.com/v4/letter/g/8edcca/32.png) [@Gianluca\_Tessarolo](https://discuss.rubyonrails.org/u/Gianluca_Tessarolo)\
**Post date:** [November 6, 2007, 1:57pm UTC](https://discuss.rubyonrails.org/t/image-uploading/20107/4 "2007-11-06T13:57:07Z")

</div>

shybe ha scritto:

> I'm Building an application where i need users to be able to upload an image with blog posts, and in another section I need the user to upload multiple images.
> 
> \>From what I've read "attachment\_fu" is the way to go, but there are no tutorials for it, the main tutorial page is down. I'm New to ROR, and pretty much have a grip on controllers, models and views, but the image uploading thing is greek to me.
> 
> Can someone point me in the right direction?
> 
> Thanks in advance.
> 
> \>

Try uploadcolumn plugin ([http://uploadcolumn.rubyforge.org/](http://uploadcolumn.rubyforge.org/)) it works very well (it's very simple and powerful, I use it in production and it solved me a big problem I had: mass loading of images from a legacy db...)

Good luck !

---

<div class="post-metadata">

**Author:** ![Nasir\_Jamal](https://avatars.discourse-cdn.com/v4/letter/n/e8c25b/32.png) [@Nasir\_Jamal](https://discuss.rubyonrails.org/u/Nasir_Jamal)\
**Post date:** [November 6, 2007, 2:18pm UTC](https://discuss.rubyonrails.org/t/image-uploading/20107/5 "2007-11-06T14:18:53Z")

</div>

I am using acts\_as\_attachment plugin and its working great.

Check it out at [http://sphred.com/profile/3-Mel-Frogley](http://sphred.com/profile/3-Mel-Frogley) or if you want to check it thoroughly then signup first on www.sphred.com and then try to upload/delete/update your image after logging in

I have also written a little tutorial on how to use it

> **[How to get acts\_as\_attachement plugin working on mac osx](https://nasir.wordpress.com/2007/10/28/how-to-get-file_column-plugin-working-on-mac-osx/)**
>
> If you want to use acts as attachement for image upload/manipulation as well then first you need to install imagemagick (and its dependencies) and RMagick. Before installing imagemagick you also ne…

since we need some other stuff before using it.

---

<div class="post-metadata">

**Author:** ![Peter\_De\_Berdt](https://avatars.discourse-cdn.com/v4/letter/p/53a042/32.png) [@Peter\_De\_Berdt](https://discuss.rubyonrails.org/u/Peter_De_Berdt)\
**Post date:** [November 6, 2007, 4:18pm UTC](https://discuss.rubyonrails.org/t/image-uploading/20107/6 "2007-11-06T16:18:06Z")

</div>

attachment\_fu is the successor of acts\_as\_attachment and should be used instead of it. a\_a\_a has serious downsides, especially when it comes to loading files in memory instead of using tempfile and being tied to the very memory hungry rmagick. Attachment\_fu’s code is a lot cleaner too. I’m still using a\_a\_a in some of our old apps (i had to hack it, so i need to reimplement my changes as they are very specific for our needs), but i plan to switch all of them over to attachment\_fu, possibly changing the processor to imagescience if it’s just thumbnailing that’s involved.

Best regards

Peter De Berdt

---

<div class="post-metadata">

**Author:** ![Nasir\_Jamal](https://avatars.discourse-cdn.com/v4/letter/n/e8c25b/32.png) [@Nasir\_Jamal](https://discuss.rubyonrails.org/u/Nasir_Jamal)\
**Post date:** [November 7, 2007, 11:33am UTC](https://discuss.rubyonrails.org/t/image-uploading/20107/7 "2007-11-07T11:33:05Z")

</div>

thannx peter, I will check that
