GET /image-resize
Possible parameters:
- H (Default value = null) - Maximum image height
- W (Default value = null) - Maximum image width
- id (Default value = null) - The record ID depends on the specified type of image that needs to be obtained in a format adjusted to a certain size.
- type (Default value = logo) - The type of image that needs to be adjusted to a specific size.
- logo - The image is the website's logo
- avatar - User's avatar. (id = user)
- cat - Category icon. (id = category)
- icon - Project/application/game icon. (id = project)
- first - The first (main) screenshot image of the project/application/game.. (id = project)
- image - Any image that the project/application/game has, where num = 0, is equivalent to first.. (id = project, num = # image)
- num (Default value = null) - The number of the screenshot image of the project/application/game that needs to be adjusted to a specific size. Works only when the type is specified as image.
Example of a complete request:
GET /image-resize?H=300&W=300&type=first&id=28
Response example: