Sort Me hosts their images, such as avatars or problem legend illustrations, on their own server. It converts images to WebP and creates multiple formats for displaying on a different parts of website.
Upload new image
POSThttps://sort-me.org/images/upload
Pass the image in document form-data field.
{"id":"04c1bec1-e71a-4a73-b023-267db3a4dc30"}
Get image
GEThttps://sort-me.org/images/get/{id}
Get image; if possible, resize it to desired size.
For now, supported sizes are:
avatar - 128x128, cropped to square
avatar-big - 512x512, cropped to square
If you provide unknown size or not provide it at all, image will be returned in their default aspect ratio, resized to 1600px or less in width. This may change in future.