Skip to main content

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.

SettingWhat it does
File SharingAllow users to share files in conversations
Hide from Media LibraryHide message attachments from the WordPress Media Library
Attachments BrowserShow an Attachments tab in conversation details where users can browse all shared photos, videos, audio and files
Thumbnail in RepliesShow a thumbnail of the attached photo when a message with attachments is quoted in a reply

Upload Settings#

SettingWhat it does
Upload Method—
Photo CaptureAllow users to capture photos from their webcam
Auto-Delete AttachmentsAutomatically delete attachments after this number of days
Max File SizeChecked 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 TypeA 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 MessageSet to 0 for no limit
Randomize FilenamesReplace 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)

Allowed Formats#

SettingWhat it does

Media Optimization#

SettingWhat it does
Optimize ImagesConvert images to a smaller format in the browser before uploading. HEIC/HEIF from iPhones is always converted
Image QualityCompression quality (1–100). Recommended: 85–90
Max Image ResolutionMaximum width/height in pixels. 0 = no limit
Optimize VideosConvert MOV, AVI, WMV, MKV to MP4 in the browser. Improves cross-platform playback
Strip MetadataRemove EXIF data (GPS, camera, date) from images and videos. Works independently from optimization. Videos and animated images require Video Engine
Video EngineFFmpeg WASM (~30 MB). Downloaded once to your server, runs in the browser
WASM Headers TestCheck that WASM files are served with the correct Content-Type