Storage and files
Where files are kept
Uploaded files, and the thumbnails and versions JoomMedia makes from them, are stored in media/com_joommedia/files, in a tree of short sub-folders with hashed file names.
To use another folder, open the options (Settings > Configuration), tab Uploads, section Local storage:
- Set Use default storage to No.
- Enter the full server path in Storage location, for example
/home/site/joommedia-files. - Save.
Change this only on a new site, or move the existing files to the new folder yourself first: JoomMedia does not move them. The folder must be writable by the web server. A folder outside the web root only works together with Protect media, because files there have no public address.
The dashboard's System status shows whether the upload folder is writable and how much disk space is free.
Protect media
With Protect media set to Yes, JoomMedia sends local files through a link that expires, instead of the file's real address. This makes it harder for other sites to link to your files directly. It adds load to your server, because every file passes through PHP.
The link stays valid for your Joomla Cache Time plus one minute (System > Global Configuration > System), not the 30 minutes the setting's description says.
Protect media is not access control. In JoomMedia 6.1.5, a protected link can be changed to open other files, and it does not check the visitor's access level. Do not rely on it to keep private files private. Files in the default folder also stay reachable at their real address for anyone who knows it.
Downloads
- Download access (Options > Other Settings) sets the access level needed to see the download button. Each media item has its own Download access as well.
- Download action chooses whether the button offers All media files (every size and format, in a list) or the Original media file directly.
- Show download button in Options > Item Layout hides the button for everyone.
The Files screen
Storage > Files lists every file JoomMedia knows: ID, Title, File type (for example the original or a thumbnail size), Extension, File size, File path, Access and Status. Use it to see which files exist for a media item. Trash and Empty trash remove file records.
The File Extensions screen
Storage > File Extensions lists the extensions JoomMedia accepts for uploads, and the media type each one gets. Use New to add an extension, for example webm as a video or m4a as audio. Unpublish an extension to refuse it.
JoomMedia decides the media type from the extension alone, and does not look inside the file. Only add types that are media files. Never add php, phtml, html, js or svg.
The media types themselves are switched on and off with Enable audio, Enable documents, Enable images and Enable videos in Options > Features.
Amazon S3
To move files to Amazon S3 after processing, see Amazon S3.