Fitting Images

Downscale an image to fit the given dimensions while maintaining aspect ratio.

Donate

Become a backer or sponsor to support our work.

On this page

Sponsors

Syntax

1![Fit Image](featured.jpeg?fit=[width]x[height])

You must provide both width and height.

Example

Source
1![Fit Image](/images/great-wall.jpg?fit=200x100)
Result
Fit Image