mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
DOCS Added info about adjusting Image quality using new config
This commit is contained in:
parent
60bcce9921
commit
8ee6359e44
@ -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]`.
|
For usage on a website form, see `[api:FileField]`.
|
||||||
If you want to upload images within the CMS, see `[api:UploadField]`.
|
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
|
### Clearing Thumbnail Cache
|
||||||
|
|
||||||
Images are (like all other Files) synchronized with the SilverStripe database.
|
Images are (like all other Files) synchronized with the SilverStripe database.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user