Skip to content

Commit

Permalink
Merge pull request #227 from nottinghamcollege/imgix-defaultParams-docco
Browse files Browse the repository at this point in the history
Correct data type of imgix defaultParams in README.md
  • Loading branch information
aelvan committed Mar 27, 2019
2 parents e590cfc + c1916a9 commit e644e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ An array of configuration objects for Imgix, where the key is the profile handle

By disabling this setting, you're telling Imager to never download external images, and to just give up on trying to figure out the dimensions. If you supplied only width to the transform, height will then be set to 0. If you don't need to use height in your code, that's totally fine, and you've managed to squeeze out a bit more performance.

**defaultParams (bool):** You can use this setting to set default parameters that you want passed to all your Imgix transforms. Example:
**defaultParams (array):** You can use this setting to set default parameters that you want passed to all your Imgix transforms. Example:

'defaultParams' => ['auto'=>'compress,format', 'q'=>80]

Expand Down

0 comments on commit e644e8e

Please sign in to comment.