Settings Reference: Attachments
WP Admin → Better Messages → Settings → Attachments
This page is made from the settings page itself, so each name and description is what the admin shows.
File Sharing#
Explained in File Sharing.
| Setting | What it does |
|---|
| File Sharing | Allow users to share files in conversations |
| Hide from Media Library | Hide message attachments from the WordPress Media Library |
| Attachments Browser | Show an Attachments tab in conversation details where users can browse all shared photos, videos, audio and files |
| Thumbnail in Replies | Show a thumbnail of the attached photo when a message with attachments is quoted in a reply |
Upload Settings#
| Setting | What it does |
|---|
| Upload Method | — |
| Photo Capture | Allow users to capture photos from their webcam |
| Auto-Delete Attachments | Automatically delete attachments after this number of days |
| Max File Size | Checked on the file that is sent. When Media Optimization converts a photo or a video, its optimized size is what counts |
| Max File Size by Type | A limit for one type of file, for example more room for videos. 0 uses Max File Size. Voice messages count as audio, video messages as videos |
| Max Attachments per Message | Set to 0 for no limit |
| Randomize Filenames | Replace original filenames with random names before uploading. This can help bypass WAF (Web Application Firewall) rules that block uploads with long, non-Latin, or unusual filenames (403 Forbidden errors) |
| Setting | What it does |
|---|
| Optimize Images | Convert images to a smaller format in the browser before uploading. HEIC/HEIF from iPhones is always converted |
| Image Quality | Compression quality (1–100). Recommended: 85–90 |
| Max Image Resolution | Maximum width/height in pixels. 0 = no limit |
| Optimize Videos | Convert MOV, AVI, WMV, MKV to MP4 in the browser. Improves cross-platform playback |
| Strip Metadata | Remove EXIF data (GPS, camera, date) from images and videos. Works independently from optimization. Videos and animated images require Video Engine |
| Video Engine | FFmpeg WASM (~30 MB). Downloaded once to your server, runs in the browser |
| WASM Headers Test | Check that WASM files are served with the correct Content-Type |