Merge pull request #2944 from howardgrigg/Docs-patch

DOCS Added info about adjusting Image quality using new config
This commit is contained in:
Andrew Short 2014-03-12 15:18:50 +11:00
commit 366ac6baa4

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.