Learn how to resize images.
Become a backer or sponsor to support our work.
To resize images, you’ll need to specify width
and height
query parameters.
1![Resize](/images/great-wall.jpg?width=300)
1![Resize](/images/great-wall.jpg?height=180)
1![Resize](/images/great-wall.jpg?width=300&height=180)
1![Resize](/images/great-wall.jpg?width=300&quality=100)
1![Resize](images/example.jpg?width=100&height=100)
naturalWidth
and naturalHeight
query parameters.1![Resize](https://avatars.githubusercontent.com/u/128204519?s=200&v=4&naturalWidth=200&naturalHeight=200&width=100&height=100)