Skip to content

Commit a15f5b8

Browse files
lewispbrafaelfranca
authored andcommitted
Add note about imagemagick / libvips support being required
1 parent f3e3f82 commit a15f5b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railties/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_7_2.rb.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# Adds image/webp to the list of content types Active Storage considers as an image
1414
# Prevents automatic conversion to a fallback PNG, and assumes clients support WebP, as they support gif, jpeg, and png.
1515
# This is possible due to broad browser support for WebP, but older browsers and email clients may still not support
16-
# WebP.
16+
# WebP. Requires imagemagick/libvips built with WebP support.
1717
#++
1818
# Rails.application.config.active_storage.web_image_content_types = %w[image/png image/jpeg image/gif image/webp]
1919

0 commit comments

Comments
 (0)