kiwi.com image bucket - tests

airlines

Allowed sizes



Resized existing image in allowed size - using single number

/airlines/128/0B.png


Resized existing image in allowed size - using single number - grayscale

/airlines/128/0B-grayscale.png


Resized existing image in allowed size - using two numbers

/airlines/128x128/0B.png


Resized existing image in allowed size - using two numbers - grayscale

/airlines/128x128/0B.grayscale.png


Non existing image redirect to default image

/airlines/128x128/non-existing.png


Non existing image redirect with specified fallback train.png

For fallback use `default` or `d` query string parameter

/airlines/128x128/non-existing.png?default=train.png


Non existing image redirect with specified fallback bus.png

/airlines/128x128/non-existing.png?default=bus.png


Non existing image redirect with specified fallback airline.png

/airlines/128x128/non-existing.png?default=airline.png


multiple fallback

Non existing image redirect with double fallback bus.png,airline.png

/airlines/128x128/non-existing.png?default=bus.png,airline.png

Non existing image redirect with double fallback airline.png,bus.png

/airlines/128x128/non-existing.png?d=airline.png,bus.png

Non existing image redirect with mutliple fallback foo.png,bar.png,none.png,airline.png,bus.png

/airlines/128x128/non-existing.png?d=foo.png,bar.png,none.png,airline.png,bus.png



Whitelabels

Allowed sizes

If you do not specify width with `0xheight` like `/whitelabels/0x80/kiwi-logo.png` it uses dynamic width.

Resized existing image in allowed size

/whitelabels/280x80/kiwi-logo.png


Resized existing image in allowed size to grayscale

/whitelabels/280x80/kiwi-logo.grayscale.png


Resized existing image in wrong size - return 404

/whitelabels/1x1/kiwi-logo.png


Non existing image redirect to default image

/whitelabels/280x80/non-existing.png


Photos

Allowed sizes



Thumbnails, Image quality

For lazy loading you can use some small image with css (blur + zoom). You can specify requested image quality by `-q` parameter (`-q7` mean set quality to 7%)

/photos/30x30/aalborg_dk-q7.jpg

Low-res (60x60) and Hi-res (600x600) image sample resized to 300x300


Resized existing image in allowed sizes

/photos/220x165/aalborg_dk.jpg


AdditionalPhotoSizes existing image in allowed sizes

/photos/220x165/aalborg_dk.jpg


Non existing image in allowed sizes

/photos/220x165/non-existing.jpg


WebP support

You can request .webp instead of jpg or png, but use it with some polyfill...