Storage and uploads
Where files go
Uploaded files are stored in the media folder, components/com_easychatroom/media by default:
| Folder | What it holds |
|---|---|
avatars |
Member avatars |
chats/images |
Images sent in conversations |
chats/videos |
Videos and their thumbnails |
chats/audio |
Voice notes |
chats/files |
Files |
chatrooms |
Room cover and background images |
settings |
Logos, favicon, banners and other images from Appearance > Images |
reactions |
Reaction icons |
stickers |
Sticker packs, one folder per pack |
Maintenance > Folder Permissions shows whether each folder exists and is writable.
Move the media folder
Media Storage Path in Settings > General sets another folder, relative to the Joomla root, for example images/chat. Before you change it:
- Create the new folder and make it writable by the web server.
- Copy the content of the old media folder into it, with the same subfolders.
- Enter the path and click Update.
In version 6.3.18, files sent with Send Files are always saved in components/com_easychatroom/media/chats/files, while their download links use the path you set. Those files then cannot be downloaded. Keep the default path if your members send files.
Upload limits
Set the largest image, video, file and voice note in Chat settings. The PHP limits of your server cap them: upload_max_filesize and post_max_size. Ask your host to raise those for large videos.
Cloud storage
Easy Chat Room can store new uploads in an S3-compatible bucket instead of the media folder. Go to Settings > Cloud Storage.
| Setting | What it does |
|---|---|
| Enable Cloud Storage | Yes sends new uploads to the bucket |
| Cloud Storage Type | The provider: AWS S3, Google Cloud Storage, Wasabi, Backblaze or Other Storage. All of them use the same S3 connection, so the endpoint below decides where files go. |
| Cloud Storage Endpoint | The S3 address of the provider, for example https://s3.us-west-1.wasabisys.com |
| Cloud Storage Region | The bucket region, for example us-west-1 |
| Cloud Storage Access Key and Cloud Storage Secret Key | The access keys |
| Cloud Storage Bucket Name | The bucket |
| Cloud Storage Access URL | The public address of the bucket, without a slash at the end, for example https://s3.wasabisys.com/easychatroommedia |
| Cloud Storage SSL Verification | Yes checks the provider's SSL certificate. Keep it on. |
Click Update. Setup steps for each provider:
Before you switch
- Visitors' browsers load the files straight from the Cloud Storage Access URL, so the files in the bucket must be publicly readable. Set this with a bucket policy at your provider.
- With cloud storage on, every media link points to the bucket, also for files uploaded before. Copy the content of your media folder to the bucket first, with the same folder structure, or older images, avatars and logos disappear.
- Deleting messages, rooms or users does not delete their files from the bucket.