#182 Cropping Images
Oct 05, 2009 | 14 minutes | Plugins
Present a slick user interface for cropping image attachments using Jcrop and Paperclip.
- Download:
- source codeProject Files in Zip (207 KB)
- mp4Full Size H.264 Video (26.2 MB)
- m4vSmaller H.264 Video (16.3 MB)
- webmFull Size VP8 Video (43.2 MB)
- ogvFull Size Theora Video (32 MB)
Uploading to Amazon S3
Here I show how to upload files directly to Amazon S3 using CarrierWave Direct and Fog. I then walk through another project which uses jQuery File Upload to handle multiple files and does not use CarrierWave.
(14 minutes)
jQuery File Upload
Here you will learn how to upload multiple files over ajax using jQuery File Upload. I start with the basic functionality and customize it to fit the user interface.
(13 minutes)
Image Manipulation
Learn how to do extensive image manipulation with the ImageMagick commands. Also learn how RMagick can be used in combination with CarrierWave to process uploaded images.
(11 minutes)
Strong Parameters
The strong_parameters gem is an improvement over attr_accessible to securely handle mass assignment even when you have complex authorization logic. The functionality will likely be added to Rails 4 so it is a good idea to learn how it works.
(12 minutes)
Facebook Open Graph
This episode builds on last week's episodes and shows how to integrate Facebook further through the Open Graph protocol. You will also learn how to tunnel your local server and move Facebook communication into a background process.
(11 minutes)