Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
paperclip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
paperclip
Commits
6a5b30cf
Commit
6a5b30cf
authored
May 10, 2014
by
Edgar Gonzalez
Committed by
Jon Yurek
Aug 29, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reflect custom processor changes on README.md.
(thoughtbot/paperclip#1535)
parent
c8011b1f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
README.md
+4
-3
No files found.
README.md
View file @
6a5b30cf
...
...
@@ -501,9 +501,10 @@ a set of styles for an attachment, by default it is expected that those
"styles" are actually "thumbnails". However, you can do much more than just
thumbnail images. By defining a subclass of Paperclip::Processor, you can
perform any processing you want on the files that are attached. Any file in
your Rails app's lib/paperclip
\_
processors directory is automatically loaded by
paperclip, allowing you to easily define custom processors. You can specify a
processor with the :processors option to
`has_attached_file`
:
your Rails app's
`lib/paperclip`
and
`lib/paperclip_processors`
directories is
automatically loaded by paperclip, allowing you to easily define custom
processors. You can specify a processor with the :processors option to
`has_attached_file`
:
```
ruby
has_attached_file
:scan
,
:styles
=>
{
:text
=>
{
:quality
=>
:better
}
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment