Skip to content

Commit 4f188b8

Browse files
docs(readme): update documentation
Co-authored-by: Sherwin Heydarbeygi <sherwinhb@gmail.com>
1 parent a762d4e commit 4f188b8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ https://demos.imgix.net/image.png?ar=3%3A2&dpr=4&fit=crop&h=800&s=c89c2fd3148957
139139
https://demos.imgix.net/image.png?ar=3%3A2&dpr=5&fit=crop&h=800&s=3d73af69d78d49eef0f81b4b5d718a2c 5x
140140
```
141141

142-
This library generate by default `1` to `5` dpr `srcset`. You can control generated target ratios with `device_pixel_ratios` parameters.
142+
By default, this library generates a `srcset` with pixel density values of `1` through `5`.
143+
These target ratios can be controlled by using the `devicePixelRatios` parameters.
143144

144145
```python
145146
from imgix import UrlBuilder

0 commit comments

Comments
 (0)