Skip to content

Preview and Processing

Preview and processing turn original files into browser-viewable, openable, or streamable results. This area does not change file ownership, but it depends on storage reads, background tasks, external tools, and WOPI services.

Capability Boundaries

CapabilityNotesRelated docs
ThumbnailsThumbnail generation, cache, and background tasks for supported MIME typesSystem Settings, User Manual
Image previewBrowser original rendering, backend-generated medium previews, fullscreen viewing, zoom, pan, rotation, and previous/next navigationUser Manual, System Settings
Media metadataAudio/video metadata from local tools or storage-native processingTencent COS
Archive previewRead-only listing of supported archive paths, names, sizes, and modified times; disabled by defaultOnline Preview and WOPI, System Settings
WOPIOnlyOffice / Collabora open and save flowsOnline Preview and WOPI, File Editing
Browser editingText-like file editing, saves, version recordsFile Editing
Share streamingShort-lived audio/video playback session on share pagesSharing and Public Access, System Settings

Backend Modules

ModuleOwns
thumbnail, task::thumbnailThumbnail and image-preview cache and task dispatch
media::processingVIPS / FFmpeg / FFprobe processor resolution
media::metadataAudio/video metadata parsing
files::archive::core, files::archive::previewArchive scanning, path validation, read-only preview
preview::apps, preview::wopiPreview apps, WOPI discovery, locks, proof, sessions
share::ticket, share::streamShare streaming tickets and short sessions

Configuration Entry Points

Entry pointPurpose
Admin -> System Settings -> File ProcessingThumbnails, image preview strategy, media processors, archive preview
Admin -> System Settings -> Site Configuration -> Preview AppsWOPI discovery and open methods
Admin -> System Settings -> RuntimeShare streaming session TTL and runtime limits
Storage policy editorStorage-native processing switches such as Tencent COS

Troubleshooting Direction

  • WOPI does not open: confirm public site URL, WOPI callback reachability, and enabled file extensions.
  • Thumbnails or image previews do not generate: check MIME support, failed background tasks, processor availability, and whether the source file exceeds the size limit.
  • Archive preview fails: check global switch, file size, supported format, and archive path safety.
  • Share-page media playback stops: check share streaming session TTL and reverse proxy streaming behavior.

Released under the MIT License