Add note about imagemagick / libvips support being required

This commit is contained in:
Lewis Buckley 2024-02-02 17:19:49 +00:00 committed by Rafael Mendonça França
parent f3e3f82e7d
commit a15f5b837f
No known key found for this signature in database
GPG Key ID: FC23B6D0F1EEE948

@ -13,7 +13,7 @@
# 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.
# 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]