thumbimage

URL Parameters

e.g. /thumbimage/path/to/sample.jpg?type=webp;w=360;h=240;quality=30

Sample

Original file

Path
/image/sample.jpg
Type
JPEG
Width
1920px
Height
1280px
Quality
80

Generated thumbnail image

Optimal image type selection by using the picture element

<picture>
	<source type="image/avif" srcset="/thumbimage/sample.jpg?type=avif;w=360;quality=30" />
	<source type="image/webp" srcset="/thumbimage/sample.jpg?type=webp;w=360;quality=30" />
	<img src="/thumbimage/sample.jpg?type=jpeg;w=360;quality=30" alt="Sample Image" crossorigin="" />
</picture>

Sample Image

Optimal image type selection by using the accept request header

<img src="/thumbimage/sample.jpg?type[]=avif;type[]=webp;type[]=jpeg;w=360;quality=30" alt="Sample Image" crossorigin="" />

Sample Image