Use Cases

Preparing Images for Social Media — Sizes, Formats, and Tips

· 2 min read · Use Cases

Every social media platform has different image requirements — dimensions, file sizes, formats, and aspect ratios. Posting the wrong size means your images get cropped awkwardly, compressed heavily, or rejected entirely.

Platform Cheat Sheet (2026)

Instagram

Type Size Aspect Ratio
Feed post (square) 1080x1080 1:1
Feed post (portrait) 1080x1350 4:5
Feed post (landscape) 1080x566 1.91:1
Stories / Reels 1080x1920 9:16
Profile photo 320x320 1:1

Facebook

Type Size
Shared image 1200x630
Cover photo 820x312
Profile photo 170x170
Event cover 1200x628

X (Twitter)

Type Size
In-stream image 1200x675
Header photo 1500x500
Profile photo 400x400

LinkedIn

Type Size
Shared image 1200x627
Company cover 1128x191
Profile photo 400x400

Format Recommendations

  • JPEG: Safest choice for all platforms — universally supported
  • PNG: For graphics with text, screenshots, or images needing transparency
  • WebP: Supported by most platforms now, but JPEG is still safer for maximum compatibility

Avoid uploading HEIC (most platforms re-encode it), BMP, or TIFF.

The Platform Optimization Feature

KoalaPic’s optimize_for parameter automatically resizes and formats images for specific platforms. Available via the web interface and API:

curl -X POST https://koalapic.com/api/v1/convert \
  -H "Authorization: Bearer kp_your_api_key" \
  -F "file=@photo.jpg" \
  -F "optimize_for=instagram_post"

This handles the cropping, resizing, and format selection in one step.

Tips for Better Social Media Images

  1. Design at 2x: Create at 2160x2160 and let the platform downscale for retina screens
  2. Keep text centered: All platforms crop edges differently — keep important content away from borders
  3. Compress before uploading: Platforms re-compress everything. If you upload an already optimized image, the double compression is less destructive
  4. Use the right aspect ratio: A landscape photo cropped to 1:1 for Instagram loses half the image. Shoot or crop intentionally.

Batch Processing for Social Media Managers

If you manage multiple platforms, use the batch API to generate all platform variants from one source image:

  1. Upload the high-resolution original
  2. Make multiple API calls with different optimize_for values
  3. Download platform-ready images

Or use the resize tool on the web to manually adjust dimensions.

Next Steps

Enjoyed this article? Share it.

Related Posts

Send Feedback

Thank you! We'll get back to you soon.

Install KoalaPic

Add to your home screen for quick access

Cookie & Storage Preferences

We use cookies and local storage to improve your experience. Essential storage is always active for core functionality. Learn more

Essential

CSRF protection, dark mode, error tracking. Always active.

Functional

Conversion presets, UI preferences, PWA install state.

Analytics

Anonymous usage statistics to improve the service.