Upload an image (이미지 업로드)
tistory_upload_imageUploads an image to a Tistory blog and returns a body substitution plus an attachment reference to include when publishing or updating, preventing the image from being garbage-collected.
Instructions
Upload an image and return substitution (paste into the body) and attachment_ref.
Put substitution verbatim where the image goes, and pass attachment_ref in attachments
when publishing/updating — otherwise the image is garbage-collected after about 15 days.
Do not put the returned URL into the body directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Alignment: alignCenter (default), alignLeft, alignRight, widthOrigin | alignCenter |
| width | No | Pixel width; read from the file header if omitted | |
| height | No | Pixel height; read from the file header if omitted | |
| blog_url | Yes | Blog host or URL (블로그 주소). e.g. myblog.tistory.com | |
| file_path | Yes | Local image path (png/jpg/jpeg/gif/webp, up to 20MB) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||