Ruby Plus #31: How to upload images in Rails 2.0
  • Video is free for view
View_video

In this screencast I will show you how easy it is to upload images in Rails using the Attachement_Fu plugin.You must install an Image Processor. ImageScience, RMagick or minimagick. I installed RMagick using this script. Here is the RMagick Installation FAQ.

Note: The public_filename method gives us the public path to the full-size file or the thumbnail if you pass the name of the thumbnail suffix (:thumb, in our case).



Tags: Ruby Plus, Attachement_Fu, Plugins, upload, RMagick, Ruby, Frameworks, Ruby On Rails

Level: any Date: June 28, 2008 Votes: 0 User: Dmytro Shteflyuk  Comments:
 
 

No Response(s) to this entry

Subscribe to comments with RSS.