Skip to content

File Preview

Primio has a built-in file viewer that opens attachments and project files in full screen without leaving the workspace. It works in two places, with slightly different rules for what’s clickable.

The right viewer is picked automatically based on the file type.

Attachments shown in the composer and in sent messages are only clickable when the file type can be previewed in the browser. Previewable types open the full-screen viewer; non-previewable types render as a static file card with no click affordance.

This applies to:

  • Attachment chips in the composer (before you send)
  • Attachment cards in user messages (after you send)

In the project file tree, every file is clickable regardless of type. Unsupported and binary files don’t get a real preview — instead, the viewer shows a placeholder (“Binary file — Preview is not available for this file type”) so you can confirm the file exists in the tree and move on.

File typePreview
Images (JPEG, PNG, WebP, GIF, SVG, AVIF, …)Zoomed-to-fit image
Video (MP4, WebM, OGG, MOV, …)Player with controls
AudioAudio player
PDFInline PDF viewer
Text and codeSyntax-highlighted source with line numbers
Everything elsePlaceholder showing filename, type, and size

“Everything else” includes formats the browser cannot decode natively — TIFF, HEIC/HEIF, AVI, MKV, WMV, archives, fonts, and any other binary format. These still upload, but the preview can’t render them — and the AI may not be able to analyze their contents either. For details on what the AI can and can’t read, see Attaching Context.

The placeholder is only shown in the file browser (where any file can be opened). In chat and the composer, non-previewable files simply aren’t clickable.

On mobile, previews open full-screen with a back button.