From d7b7b58e5d286c875eb78ad4b62cc00c37c0f2c6 Mon Sep 17 00:00:00 2001 From: Maxime Rainville Date: Wed, 20 Apr 2022 10:17:09 +1200 Subject: [PATCH] Tweaks from peer review Co-authored-by: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> --- docs/en/02_Developer_Guides/14_Files/06_Allowed_file_types.md | 4 ++-- docs/en/04_Changelogs/4.11.0.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/02_Developer_Guides/14_Files/06_Allowed_file_types.md b/docs/en/02_Developer_Guides/14_Files/06_Allowed_file_types.md index 233c8f4a8..66c9f8c96 100644 --- a/docs/en/02_Developer_Guides/14_Files/06_Allowed_file_types.md +++ b/docs/en/02_Developer_Guides/14_Files/06_Allowed_file_types.md @@ -93,7 +93,7 @@ SilverStripe\MimeValidator\MimeUploadValidator: ## Adding new image types {#add-image-format} -Silverstripe CMS support JPEG, GIF, PNG and WebP images format out of the box. Silverstripe CMS can be configured to support other less common images format (e.g.: AVIF). For this to work, your version of PHP and of the [`intervention/image` library](https://intervention.io/) must support these alternative image format. +Silverstripe CMS support JPEG, GIF, PNG and WebP image formats out of the box. Silverstripe CMS can be configured to support other less common image formats (e.g.: AVIF). For this to work, your version of PHP and of the [`intervention/image` library](https://intervention.io/) must support these alternative image formats. For example, this snippet can be added to the configuration of older Silverstripe CMS projects to allow them to work with WebP images. @@ -104,7 +104,7 @@ After: '#assetsfiletypes' --- SilverStripe\Assets\File: file_types: - webp: 'WebP Image File Format' + webp: 'WebP Image' allowed_extensions: - webp app_categories: diff --git a/docs/en/04_Changelogs/4.11.0.md b/docs/en/04_Changelogs/4.11.0.md index 262e21ad7..e59a369e6 100644 --- a/docs/en/04_Changelogs/4.11.0.md +++ b/docs/en/04_Changelogs/4.11.0.md @@ -34,7 +34,7 @@ WebP has wide – but not universal – support across web browsers. Internet Ex Read [Can I use WebP?](https://caniuse.com/webp) to see which browsers can render WebP images. -Until now, Silverstripe CMS would default to blocking content authors from uploading WebP images. Given that Internet Explorer is soon to be end-of-life and that its market share are now under 1% according to most surveys, we decided the time had come to enable WebP by default in the CMS. +Until now, Silverstripe CMS would default to blocking content authors from uploading WebP images. Given that [Internet Explorer will be end-of-life in June 2022](https://blogs.windows.com/windowsexperience/2021/05/19/the-future-of-internet-explorer-on-windows-10-is-in-microsoft-edge/) and that its market share are now under 1% according to most surveys, we decided the time had come to enable WebP by default in the CMS. Once your project is upgraded to Silverstripe Recipe CMS 4.11, your content authors will automatically be able to upload WebP images and add them to web pages. We recommend you have a conversation with your users about the pros and cons of WebP so they can make an informed decisions about when to use this image format. @@ -49,7 +49,7 @@ SilverStripe\Assets\File: webp: false ``` -Read [Allowed file types](/Developer_Guides/Files/Allowed_file_types) in the Silverstripe CMS documentation for more information on how to enable or disable new image file format. +Read [Allowed file types](/Developer_Guides/Files/Allowed_file_types) in the Silverstripe CMS documentation for more information on how to enable or disable new image file formats. ### Preview any DataObject in any admin section {#cms-preview}