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/P1iIY3CS8j1fV0fOIYO0fXHMkFinmNXcbL9Jnx8HzBM/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/IJL0r6E8nodIeOiiJJ7_ueW_Hiy93gY9vRvz7fTYPj4/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/nMMrLntbxwu8blBKzC9aJW3Y9EQSHv9D5nqO6lV4piM/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/sZYJfFrKSfgmURetYVRAIzZ12l47bOMwgvdUqqIPHpI/resize(400,400)/youtube/6QBiWY09k8g

Default

Grayscale

Blur

Fetch gravatar image

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

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

Default

Grayscale

Blur