Images
Loby provides a fully functional image generator, that dynamically generates images for requested sizes. The images are quickly generated and cached for fast reuse.
URL Format
Use the following url for generating images:
https://img.loby.io/{{imageId}}_{{sizingType}}{{size}}.{{format}}
| Component | Description | Example |
|---|---|---|
imageId | The id of the image | 6ef7d631-b898-40a4-ba27-b8c772f6db03 |
sizingType | There are 3 options: w, h and s. By choosing w, image is sized according to width. h according to height and s will square crop the image and size according to both sides | w |
size | The size according to the sizing type | 1280 |
format | You can choose between jpg and png | jpg |
Example
https://img.loby.io/6ef7d631-b898-40a4-ba27-b8c772f6db03_w1280.jpg