Skip to content

Commit dcdae4f

Browse files
committed
chore: update readme
1 parent 7d98b82 commit dcdae4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ $options = [
337337
'ratio' => '3/2', // This ratio is now only used for generating the default thumbnails
338338
];
339339
```
340+
340341
Note: In most cases, you should **not** need to override `width`, `height`, or `srcset`. Let Imagex handle these automatically based on your `ratio` parameter for best results.
341-
```
342342

343343
## Cache
344344
Imagex will do some simple calculations per image, like calculating the height by the given width and ratio. Basically Imagex get the srcset definition from the config file, calculate and set the height and output the final config. The result will be cached to reduce unnecessary calculations when you use the same combination of srcset-preset and ratio for other images.

0 commit comments

Comments
 (0)