This repository has been archived by the owner on Jul 13, 2023. It is now read-only.
Home
İ. Emre Kutlu edited this page Feb 2, 2018
·
52 revisions
Pages 29
Clone this wiki locally
paperclip
Paperclip is a plugin for Ruby on Rails’ ActiveRecord that lets files work as simply as any other attributes do. There are no extra database tables, only one library to install for image processing, and the ease of being able to refer to your files as easily as you refer to your other attributes.
- Requirements
- Installation
- Quick Start
- Thumbnail Generation
- Interpolations
- Hashing
- Restricting Access to Objects Stored on Amazon S3
- Encryption on Amazon S3
- Helpful Links
Links
- Submit bugs/patches at GitHub Issues
- Ask questions at Google Group (mailing list)
- Project Home Page
- Official RDoc by rdoc.info
Screencasts
- General Introduction
- Cropping with Paperclip
- Rails 3 and Multiple File Uploads with Paperclip
- Rails 2 and Multiple File Uploads with Paperclip
Commonly needed functionality
- Conditionally resizing images
- Extracting image dimensions
- Extracting mp3 metadata
- Attachment downloaded from a URL
- Changing attachment :path
- Video Thumbnails
- Upgrade Imagemagick On Heroku
Processors
- paperclip-optimizer minify uploaded images
- paperclip-compression JPEG and PNG compression processor
Storage
- paperclip-azure store paperclip files in a Microsoft Azure Blob.
- paperclip-cloudinary store Paperclip-managed assets with Cloudinary.
Model Name Restrictions
Paperclip will sometimes take issue with applications that use the following model names:
- “Styles”
- “Attachments”