Welcome to ImageWizard

Use the standalone version or middleware.

Go to GitHub

DPR:

Width:

Viewport-Width:

Fetch local file (from wwwroot folder)

@Url.ImageWizard().FetchLocalFile("/img/bat-eared-fox.jpg").Resize(400,400).BuildUrl()

/image/-HhHyFzWiyuFaQxvTNcOQBPFWHn0VUYfrgZN56c5A0U/resize(400,400)/fetch/img/bat-eared-fox.jpg?v=2aD9g966hk7O4NygYHV23M-P6tVLZ3StXdEittBxtrU

Default

Grayscale

Blur

Fetch static file by file loader

@Url.ImageWizard().File("/meerkat.jpg").Resize(400,400).BuildUrl()

/image/Z3nPSBmeBb95kM6veo0Tc4wUj6SxR8ZzCUBGdvSxFhc/resize(400,400)/file/meerkat.jpg

Default

Grayscale

Blur

Fetch remote image

@Url.ImageWizard().Fetch("https://upload.wikimedia.org/wikipedia/commons/b/b7/Europe_topography_map.png").Resize(400,400).BuildUrl()

/image/vDvUixx6a3nbSI3relOLHEeGdyIsU7hliW_-CSQO-o8/resize(400,400)/fetch/https://upload.wikimedia.org/wikipedia/commons/b/b7/Europe_topography_map.png

Default

Grayscale

Blur

Fetch youtube image

@Url.ImageWizard().Youtube("6QBiWY09k8g").Resize(400,400).BuildUrl()

/image/71X3TaEJ2SKoL2UJWcYtXAN8CX9Abe9aLLtbqYAAkwc/resize(400,400)/youtube/6QBiWY09k8g

Default

Grayscale

Blur

Fetch gravatar image

@Url.ImageWizard().Gravatar("MyEmailAddress@example.com").Resize(200,200).BuildUrl()

/image/ArHYiVTg_nUEi2WkQ6he92WUaIYFEGAfWqigjZCUhhs/resize(200,200)/gravatar/0bc83cb571cd1c50ba6f3e8a78ef1346

Default

Grayscale

Blur