Multiple Images
Upload up to 10 images per post with individual reactions
Rich Media Support
JPEG, PNG, WebP formats up to 100MB per image
Overview
Image posts combine visual content with descriptive text:- Multiple Images: Up to 10 images per post
- Rich Captions: Text descriptions with mentions and hashtags
- Parent-Child Structure: Each image becomes a child post
- Interactive Features: Users can react to individual images
- Structure Type: Pure image posts have
structureType = "image"
| Requirement | Limit | Notes |
|---|---|---|
| File Size | Up to 100MB per image | Platform may have lower limits |
| Image Count | Maximum 10 images | Per single post |
| File Formats | JPEG, PNG, WebP, etc. | Platform dependent |
Want to mix media types? Combine images with videos, audio, or files in a single post using Mixed Media Posts. Mixed posts allow up to 10 attachments of any combination.
Images must be uploaded first before creating the post. See Image Handling for upload instructions.
1
Upload Images
Use the File Repository to upload your images and get file IDs
2
Create Post
Use the file IDs in your post creation request
3
Handle Response
The post will contain parent and child posts for each image
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
text | String | ✅ | Caption text (max 20,000 characters) |
images/imageFiles | Array | ✅ | Image files or uploaded image data |
targetType | Enum | ✅ | Target type (user or community) |
targetId | String | ❌ | Target ID (userId or communityId) |
tags | Array<String> | ❌ | Tags for categorization |
metadata | Object | ❌ | Custom metadata |
Best Practices
Image Optimization
Image Optimization
- Compress images before upload to reduce file size
- Resize images to appropriate dimensions (e.g., 1080x1080)
- Use appropriate file formats (JPEG for photos, PNG for graphics)
- Implement progress indicators for large uploads
User Experience
User Experience
- Show image previews before posting
- Allow users to reorder images
- Provide crop and edit functionality
- Handle upload failures gracefully with retry options
Performance
Performance
- Upload images in parallel when possible
- Cache uploaded images to avoid re-uploads
- Implement lazy loading for image previews
- Use appropriate image loading libraries
Troubleshooting
Image Upload Failures
Image Upload Failures
Problem: Images fail to upload or post creation failsSolutions:
- Check file size (must be under 100MB per image)
- Verify supported format (JPEG, PNG, WebP)
- Ensure stable internet connection
- Implement retry logic with exponential backoff
Image Quality Issues
Image Quality Issues
Problem: Images appear blurry or low qualitySolutions:
- Upload images at optimal resolution (1080x1080 or higher)
- Avoid excessive compression before upload
- Use appropriate file formats (JPEG for photos, PNG for graphics)
Memory Issues
Memory Issues
Problem: App crashes or becomes slow with large imagesSolutions:
- Implement image compression before upload
- Use image loading libraries with memory management
- Resize images to appropriate dimensions
- Clear image cache periodically
Parent-Child Structure: When you upload multiple images, the main post becomes the parent, and each image creates a child post that users can individually react to and comment on.
Common Use Cases
- Photo Sharing: Share personal photos and memories
- Product Showcases: Display products with multiple angles
- Event Documentation: Share photos from events and gatherings
- Before/After Comparisons: Show transformations or progress
- Step-by-Step Guides: Visual tutorials and instructions
- Gallery Posts: Curated collections of related images
Related Topics
Image Upload
Learn how to upload and manage images before creating posts
Text Posts
Create text-based posts with mentions and hashtags
Video Posts
Share video content and multimedia experiences
Audio Posts
Create posts with audio attachments
File Posts
Attach and share document files
Mixed Media Posts
Combine multiple media types in a single post