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.
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).
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/) 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...)
I am using acts_as_attachment plugin and its working great.
Check it out at 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
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.