/api/upload/image
Total calls: 2
Upload Image
Upload an image and return a directly referenceable image URL.
multipart/form-data file field file: just use the "Select File" button below to upload.
- Supported types: jpg/jpeg/png/gif/bmp/webp/ico/tiff; Size limit 20MB.
- svg is disabled because it can embed scripts.
- On success, returns the data field: filename / original_name / size / size_mb / ext / type / relative_path / url.
- The returned url is the site media access address (/media/...), which can be referenced directly.