GET /image-resize
Mögliche Parameter:
- H (Standardwert = null) - Maximale Bildhöhe
- W (Standardwert = null) - Maximale Bildbreite
- id (Standardwert = null) - Der Eintrag-ID hängt vom angegebenen Bildtyp ab, das in einem bestimmten Format in einer bestimmten Größe erhalten werden muss.
- type (Standardwert = logo) - Bildtyp, der an eine bestimmte Größe angepasst werden muss.
- logo - Das Bild ist das Logo der Website
- avatar - Avatar des Benutzers. (id = user)
- cat - Kategorie Icon. (id = category)
- icon - Ikon des Projekts/Apps/Spiels. (id = project)
- first - Erste (Haupt-)Bild-Screenshot des Projekts/Apps/Spiels. (id = project)
- image - Jedes Bild, das in einem Projekt/Anwendung/Spiel vorhanden ist, bei dem num = 0, ist gleichbedeutend mit first.. (id = project, num = # image)
- num (Standardwert = null) - Bildnummer für die Screenshot-Bilder des Projekts/Apps/Spiels, die in eine bestimmte Größe passiert werden sollen. Funktioniert nur bei Angabe des Typs als Image.
Beispiel für eine vollständige Abfrage:
GET /image-resize?H=300&W=300&type=first&id=28
Beispielantwort: