Skip to content
This repository
Browse code

Add thumbnail_convert_options documentation to has_attached_file doc.

  • Loading branch information...
commit 8b41b3fca725d58ef75ba4257f0f072b58906f39 1 parent 6deeaf7
Barry Hess bjhess authored

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. +5 0 lib/paperclip.rb
5 lib/paperclip.rb
@@ -106,6 +106,11 @@ module ClassMethods
106 106 # * +whiny_thumbnails+: Will raise an error if Paperclip cannot process thumbnails of an
107 107 # uploaded image. This will ovrride the global setting for this attachment.
108 108 # Defaults to true.
  109 + # * +thumbnail_convert_options+: When creating thumbnails, use this free-form options
  110 + # field to pass in various convert command options. Typical options are "-strip" to
  111 + # remove all Exif data from the image (save space for thumbnails and avatars) or
  112 + # "-depth 8" to specify the bit depth of the resulting conversion. See ImageMagick
  113 + # convert documentation for more options: (http://www.imagemagick.org/script/convert.php)
109 114 # * +storage+: Chooses the storage backend where the files will be stored. The current
110 115 # choices are :filesystem and :s3. The default is :filesystem. Make sure you read the
111 116 # documentation for Paperclip::Storage::Filesystem and Paperclip::Storage::S3

0 comments on commit 8b41b3f

Please sign in to comment.
Something went wrong with that request. Please try again.