This page focuses on the SDK call that creates the post. See Image Handling for upload steps, supported file inputs, and upload constraints.
Uploaded Images
Create posts from image objects or file IDs returned by the file upload flow.
Caption Support
Add text, metadata, mentions, or other SDK-supported post fields alongside the images.
Parameters
Create an Image Post
The examples below create an image post in a community. Replace the target with the SDK’s user-feed target when posting to a user.Notes
- TypeScript accepts image attachments as
{ type: "image", fileId }. - Android accepts a
Set<AmityImage>. - iOS accepts
[AmityImageData]. - Flutter accepts
List<AmityImage>.
Related Topics
Image Handling
Upload images before creating image posts.
Mixed Media Posts
Combine images with other supported media attachments.
Posts Overview
Review post concepts, retrieval, and moderation flows.