OverviewPlatformsAPI ReferenceResources

Media requirements

Image, video and document requirements for LinkedIn posts, custom video thumbnails, and the rules for media URLs.


Images

PropertyRequirement
Max images20 per post
FormatsJPEG, PNG, GIF
Max file size8 MB per image
Recommended1200 x 627 px
Min dimensions552 x 276 px
Max dimensions8192 x 8192 px
TypeRatioDimensionsUse
Landscape1.91:11200 x 627 pxLink shares, standard
Square1:11080 x 1080 pxEngagement
Portrait1:1.251080 x 1350 pxMobile feed

Videos

PropertyRequirement
Max videos1 per post
FormatsMP4, MOV, AVI
Max file size5 GB
Max duration10 minutes (personal), 30 minutes (organization page)
Min duration3 seconds
Resolution256 x 144 px to 4096 x 2304 px
Aspect ratio1:2.4 to 2.4:1
Frame rate10 to 60 fps

Recommended: 1920 x 1080 px, 16:9 or 1:1, 30 fps, H.264 with AAC audio at 192 kbps, 10 to 30 Mbps.

Custom thumbnails

Set thumbnail on the video media item to replace LinkedIn's automatic cover.

JSON
"mediaItems": [
  {
    "type": "video",
    "url": "https://cdn.example.com/demo.mp4",
    "thumbnail": "https://cdn.example.com/demo-cover.jpg"
  }
]

The thumbnail is best-effort. When it cannot be fetched or LinkedIn refuses it, the video still publishes with LinkedIn's automatic cover and no warning is returned.

Documents

PropertyRequirement
Max documents1 per post
FormatsPDF, PPT, PPTX, DOC, DOCX
Max file size100 MB
Max pages300

Media URLs

A media URL must:

  • Be publicly accessible with no authentication.
  • Return the media bytes with the correct Content-Type header.
  • Not redirect to an HTML page.
  • Sit on a fast host.

Google Drive, Dropbox, OneDrive and iCloud links return an HTML page instead of the file and fail. Test a URL in an incognito window, or upload through the media endpoint.

Zernio proxies Supabase storage URLs automatically.

Was this page helpful?

On this page