File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
activestorage/app/models/active_storage Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 8
8
#
9
9
# Variants rely on {ImageProcessing}[https://github.com/janko/image_processing] gem for the actual transformations
10
10
# of the file, so you must add <tt>gem "image_processing"</tt> to your Gemfile if you wish to use variants. By
11
- # default, images will be processed with {ImageMagick }[http://imagemagick.org ] using the
12
- # {MiniMagick }[https://github.com/minimagick/minimagick ] gem, but you can also switch to the
13
- # {libvips }[http://libvips.github.io/libvips/ ] processor operated by the {ruby-vips }[https://github.com/libvips/ruby-vips ]
11
+ # default, images will be processed with {libvips }[http://libvips.github.io/libvips/ ] using the
12
+ # {ruby-vips }[https://github.com/libvips/ruby-vips ] gem, but you can also switch to the
13
+ # {ImageMagick }[http://imagemagick.org ] processor operated by the {MiniMagick }[https://github.com/minimagick/minimagick ]
14
14
# gem).
15
15
#
16
16
# Rails.application.config.active_storage.variant_processor
17
- # # => :mini_magick
18
- #
19
- # Rails.application.config.active_storage.variant_processor = :vips
20
17
# # => :vips
21
18
#
19
+ # Rails.application.config.active_storage.variant_processor = :mini_magick
20
+ # # => :mini_magick
21
+ #
22
22
# Note that to create a variant it's necessary to download the entire blob file from the service. Because of this process,
23
23
# you also want to be considerate about when the variant is actually processed. You shouldn't be processing variants inline
24
24
# in a template, for example. Delay the processing to an on-demand controller, like the one provided in
You can’t perform that action at this time.
0 commit comments