DOCS Added info about adjusting Image quality using new config

This commit is contained in:
Howard Grigg 2014-03-12 10:44:47 +10:00
parent 60bcce9921
commit 8ee6359e44

View File

@ -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.