Link Details

Link 91948 thumbnail
User 309185 avatar

By Jim Neath
via jimneath.org
Published: Jul 02 2008 / 09:01

A short guide about how to use SWFUpload along with the Paperclip plugin inside your Ruby on Rails applications
  • 14
  • 0
  • 1474
  • 410

Comments

Add your comment
User 283139 avatar

ceaseoleo replied ago:

0 votes Vote down Vote up Reply

i currently use paperclip, but I don't believe it handles more than one image. I'm looking into attachment_fu now. But still a good solution

User 309185 avatar

Jim Neath replied ago:

0 votes Vote down Vote up Reply

ceaseoleo - It can handle as many images as you want. If you want to have more than one image per model just create an asset model and use paperclip with that.

User 283139 avatar

ceaseoleo replied ago:

0 votes Vote down Vote up Reply

hey jim thanks for the reply .. looked back through the comments of the original post, -- is this how you would suggest it as another reader did--
AttachemntModel
has_attached_file :photo, :styles => { :thumb=> “100×100#”, :small => “150×150>” }
belongs_to: post

PostModel
has_many: attachments

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.