Skip to content

Commit 1995b90

Browse files
authored
Update description for "fill-max".
1 parent 3f5c863 commit 1995b90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/2.0/api/size.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ Sets how the image is fitted to its target dimensions.
3434
- `contain`: Default. Resizes the image to fit within the width and height boundaries without cropping, distorting or altering the aspect ratio.
3535
- `max`: Resizes the image to fit within the width and height boundaries without cropping, distorting or altering the aspect ratio, and will also not increase the size of the image if it is smaller than the output size.
3636
- `fill`: Resizes the image to fit within the width and height boundaries without cropping or distorting the image, and the remaining space is filled with the background color. The resulting image will match the constraining dimensions.
37-
- `fill-max`: Resizes the image to fit within the width and height boundaries without cropping but with distorting/blurring the image if it's smaller. The finished image will have remaining space on either width or height (except if the aspect ratio of the new image is the same as the old image). The remaining space will be filled with the background color. The resulting image will match the constraining dimensions.
37+
- `fill-max`: Resizes the image to fit within the width and height boundaries without cropping but upscaling the image if it's smaller. The finished image will have remaining space on either width or height (except if the aspect ratio of the new image is the same as the old image). The remaining space will be filled with the background color. The resulting image will match the constraining dimensions.
3838
- `stretch`: Stretches the image to fit the constraining dimensions exactly. The resulting image will fill the dimensions, and will not maintain the aspect ratio of the input image.
3939
- `crop`: Resizes the image to fill the width and height boundaries and crops any excess image data. The resulting image will match the width and height constraints without distorting the image. See the [crop](api/crop/) page for more information.
4040

4141
~~~ html
4242
<img src="kayaks.jpg?w=300&h=300&fit=stretch">
4343
~~~
4444

45-
[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?w=300&h=300&fit=stretch)](https://glide.herokuapp.com/2.0/kayaks.jpg?w=300&h=300&fit=stretch)
45+
[![© Photo Joel Reynolds](https://glide.herokuapp.com/2.0/kayaks.jpg?w=300&h=300&fit=stretch)](https://glide.herokuapp.com/2.0/kayaks.jpg?w=300&h=300&fit=stretch)

0 commit comments

Comments
 (0)