Skip to content

Commit af7f7c9

Browse files
authored
Merge pull request #1101 from ExpressionEngine/feature/7.x/image_manipulation_quality
Added `image_manipulation_quality` config override; #4992
2 parents 47d46e3 + 35eff1a commit af7f7c9

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

docs/general/system-configuration-overrides.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1670,6 +1670,14 @@ Example Usage:
16701670

16711671
**Also found in CP:** `Settings --> Content & Design`: [Image Resizing Protocol](control-panel/settings/content-design.md#protocol)
16721672

1673+
## `image_manipulation_quality`
1674+
1675+
Default quality for [on-the-fly image manipulations](fieldtypes/file.md#on-the-fly-image-manipulations) (resizing, cropping, etc.). Value should be greater than 0 (lowest quality, smallest file size) and below or equal to 100 (highest quality, largest file size). When not set, the default quality is 75.
1676+
1677+
Example Usage:
1678+
1679+
$config['image_manipulation_quality'] = 90;
1680+
16731681
## `include_seconds`
16741682

16751683
Set the system to include seconds when time is displayed in the interface.

0 commit comments

Comments
 (0)