Overview
copyparty generates thumbnails for images, videos, and audio files (spectrograms/waveforms). Thumbnails are cached for performance and can be customized per-volume.Thumbnail Generation
Backend Options
- Pillow (Recommended)
- pyvips (Fastest)
- FFmpeg
- Image thumbnails (JPG, PNG, GIF, WebP, BMP, TIFF)
- Fast performance
- Low memory usage
- WebP output support (if Pillow compiled with it)
Supported Formats
Images:- JPG, PNG, GIF, WebP, BMP, TIFF, ICO
- RAW formats (with pyvips + rawpy): CR2, NEF, ARW, DNG, etc.
- HEIF/HEIC (with pyvips on supported systems)
- MP4, WebM, MKV, AVI, MOV, FLV, MPG, MPEG, M4V, 3GP, WMV
- Requires FFmpeg
- Spectrograms or waveforms for all audio formats
- Requires FFmpeg
Legal restrictions: Docker images and some builds cannot support HEIF/HEIC images or H.265/HEVC video due to patent licensing. See bad-codecs.md.
Configuration
Global Settings
Per-Volume Configuration
Thumbnail Types
Image Thumbnails
Generated using Pillow, pyvips, or FFmpeg (in that priority order). Format priority:- WebP (if supported and
--th-webp) - JPEG (default)
- PNG (for transparency)
Video Thumbnails
Extracted from video files using FFmpeg.- First frame extraction is usually fast
- Large/long videos may take time
- Thumbnails cached after first generation
Audio Spectrograms
Generated using FFmpeg showing frequency spectrum over time.- Spectrogram
- Waveform
Default audio thumbnail - shows frequency content.Useful for:
- Identifying songs visually
- Seeing audio quality/bitrate
- Detecting silence/clipping
Folder Thumbnails
copyparty automatically selects folder thumbnails based on file naming:Default Cover Names
folder.png/folder.jpgcover.png/cover.jpg.folder.png/.folder.jpg(dotfiles)- First image in folder (with
-e2dsa) - Embedded album art from audio files (with
-e2dsa -e2ts)
Custom Cover Names
Custom Thumbnails by Extension
Assign specific icons/images to file extensions:Thumbnail Cache
Storage Location
Thumbnails stored in.hist/ subdirectory:
Cache Management
Pregenerate Thumbnails
Generate thumbnails in advance:--th-maxage=9999999 or --th-clean=0 to keep forever.
Grid View
Pressg or click 田 to toggle grid view (thumbnail gallery).
Grid Features
- Multiselect mode (click to select multiple)
- Zoom with
Shift+A/D - Click thumbnails to open viewer
- Right-click for context menu
Enable by Default
?imgs to enable, ?imgs=0 to disable
Performance Tuning
Thumbnail Resolution
Quality Settings
Backend Selection
Troubleshooting
Broken Thumbnails
Colorful square with filetype:- FFmpeg or Pillow not installed
- Install with:
apt install ffmpeg python3-pillow
- Reverse proxy stripping
?th=wquery parameters - CDN/proxy ignoring query strings in cache
- Privacy browser extensions blocking requests
- HEIF/HEIC or H.265/HEVC not supported in your build
- Legal restrictions in Docker images
- See bad-codecs.md