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.
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).
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…)
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.