Document the default_quality configuration

This commit is contained in:
Joseph Wynn 2014-12-06 20:51:59 +00:00
parent b442fe916e
commit b27e985eae
1 changed files with 3 additions and 1 deletions

View File

@ -28,14 +28,16 @@ An example configuration is below.
```yaml
responsive_image:
template: '_includes/responsive-image.html' # Path to the template to render. Required.
default_quality: 90 # Quality to use when resizing images. Default value is 85. Optional.
# An array of resize configurations. When this array is empty (or not specified),
# no resizing will take place.
sizes:
- width: 480 # How wide the resized image will be. Required
quality: 80 # Overrides default_quality for this size. Optional.
- width: 800
quality: 90 # Override JPEG quality (default is 85). Optional.
- width: 1400
quality: 90
```
## Usage