mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #2944 from howardgrigg/Docs-patch
DOCS Added info about adjusting Image quality using new config
This commit is contained in:
commit
366ac6baa4
@ -110,6 +110,16 @@ For output of an image tag with the image automatically resized to 80px width, y
|
||||
For usage on a website form, see `[api:FileField]`.
|
||||
If you want to upload images within the CMS, see `[api:UploadField]`.
|
||||
|
||||
### Image Quality
|
||||
|
||||
To adjust the quality of the generated images when they are resized add the following to your mysite/config/config.yml file:
|
||||
|
||||
:::yml
|
||||
GDBackend:
|
||||
default_quality: 90
|
||||
|
||||
The default value is 75.
|
||||
|
||||
### Clearing Thumbnail Cache
|
||||
|
||||
Images are (like all other Files) synchronized with the SilverStripe database.
|
||||
|
Loading…
Reference in New Issue
Block a user