Add note about imagemagick / libvips support being required
This commit is contained in:
parent
f3e3f82e7d
commit
a15f5b837f
@ -13,7 +13,7 @@
|
|||||||
# Adds image/webp to the list of content types Active Storage considers as an image
|
# Adds image/webp to the list of content types Active Storage considers as an image
|
||||||
# Prevents automatic conversion to a fallback PNG, and assumes clients support WebP, as they support gif, jpeg, and png.
|
# Prevents automatic conversion to a fallback PNG, and assumes clients support WebP, as they support gif, jpeg, and png.
|
||||||
# This is possible due to broad browser support for WebP, but older browsers and email clients may still not support
|
# This is possible due to broad browser support for WebP, but older browsers and email clients may still not support
|
||||||
# WebP.
|
# WebP. Requires imagemagick/libvips built with WebP support.
|
||||||
#++
|
#++
|
||||||
# Rails.application.config.active_storage.web_image_content_types = %w[image/png image/jpeg image/gif image/webp]
|
# Rails.application.config.active_storage.web_image_content_types = %w[image/png image/jpeg image/gif image/webp]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user