Manage files and media
Audience: editors, content managers and administrators.
Time: 15 minutes.
New in 5.5: drag-and-drop with Uppy, PDF/Office previews in the upload window, JA6-style “My Files” library, custom columns and per-group download quotas.
FLEXIcontent manages media at three levels:
| Level | Entry | Role |
|---|---|---|
| Manager | Components > FLEXIcontent > Files (view=filemanager) | Global list, upload, properties, rights, statistics, orphaned files |
| Library | My Files from a field (view=fileselement) | Reuse an existing file in an item |
| Fields | File, Image, MediaFile, SharedMedia | Upload, link or display a media in content |
1. Open the file manager
In administration: Components > FLEXIcontent > Files. Access requires core.manage on com_flexicontent.
The toolbar offers, depending on your rights:
- change state (Published / Unpublished);
- change access in bulk (Access);
- Delete (simple deletion);
- Remove associations and delete: also removes assignments in fields and versions; this action requires
flexicontent.deletefileandcore.editoncom_content; - Check-in;
- index file statistics, with or without URL analysis;
- recalculate selected sizes;
- Orphaned files.
Two buttons add a file:
- Upload files: opens the Uppy dashboard;
- Add link / Add URL: adds either a remote URL (
Link type = URL link), or a link to the Joomla Media manager (Joomla Media link).
2. Upload files with Uppy
- Click Upload files in the manager or on a field upload icon.
- Drag your files into the zone Drop your files here or click to choose them, or click to select.
- Check the displayed restrictions: Accepted file types, maximum number of files and maximum size.
- Use the preview (image, PDF, audio, video, Office) if needed, then start the transfer.
- The window stays open during transfer; assignment errors are reported in the Uppy dashboard.
The Upload button (FLEXI_MEDIA_ACTION_UPLOAD) is available in fields when upload is allowed. Upload requires the flexicontent.uploadfiles right.
Upload window previews
- PDF: displayed in an iframe with
#view=FitH. - Audio / video: native player with controls.
- Office: local and sandboxed viewer. DOCX, PPTX (slide selector) and spreadsheets are supported; limited to 16 MB, 200 rows and 50 columns per sheet. No external service is contacted.
- The Preview button appears only if GLightbox is available and the type is supported; the temporary URL is revoked on close.
3. Reuse a file from a field (“My Files”)
- In an item form, open a File, Image or MediaFile field.
- Click My Files (
FLEXI_MY_FILES). The library opens in a modal window. - Use the toolbar:
- My files or All files (the latter requires
viewallfiles); - search with scope selector and the “Search files” field;
- extension filter;
- collapsible Filters panel: state, access, language, stamp, URL, secure, uploader, item, with Reset filters button;
- sort: ID, filename, title, size, upload date, hits,
custom1/custom2; - grid / list toggle and thumbnail size (90, 120, 150, 200, 250 px);
- check-all box and selected files counter.
- My files or All files (the latter requires
- Check the desired files, then click Insert.
- The window closes and files are assigned to the field.
Each row also offers actions: View or Download depending on file type and location, and Edit to open the properties form. If the file is locked by another administrator, the action shows Edited by another admin.
The check-all box selects only the displayed page. Secure files are opened through access control that counts a download; public files open directly.
Enable the library on a field
In a File or MediaFile field configuration, the use_myfiles setting offers six modes:
| Value | Behavior |
|---|---|
0 | Inline upload only |
1 | Inline upload + secure My Files + URL |
2 | Like 1 + Joomla Media manager |
3 | URL + Joomla Media manager; no FLEXIcontent upload |
4 | Joomla Media manager only |
5 | Inline upload + secure My Files, no URL |
The XML label of option 3 starts with “Inline uploads + My Files reuse modal…”, but the code does not enable upload in that mode.
For an Image field, image_source defines the source: Joomla Media manager (-2), Joomla article images (-1), reusable database (0) or item-specific folder (1). The list_all_media_files and limit_by_uploader options control library scope.
4. Edit file properties
From a manager or picker row, click Edit. The form lets you set:
- download filename, title, description;
- file replacement;
- keep upload date and uploader;
- language, access, download stamping, hits;
- type, size, storage, path.
Each property can be hidden in Configuration > File editor. The path is reserved to users with flexicontent.editfileproperties and is hidden by default.
Custom 1 / Custom 2 properties (new in 5.5)
Enable them globally in Configuration > File editor > Custom 1 / Custom 2, or only on a File field. You can define their label, display it, choose a default value and the textarea height.
The corresponding columns then appear automatically in the manager and picker. The displayed label follows this order: global label, unique label shared by File fields, or generic Custom 1 / Custom 2 with a tooltip listing divergent labels.
Custom properties are not available in folder_mode. Their HTML is filtered by Joomla’s ComponentHelper::filterText().
5. Display a file on the site
File and MediaFile fields offer the View inside option:
- Fancybox modal
- GLightbox modal (responsive + fullscreen) — default
- New window
- Same window
GLightbox is initialized once per page for all .fcfile_glightbox links. Keyboard navigation is active, loop is enabled, zoom and drag are disabled. On close, audio/video playback stops and focus returns to the original link.
Media field actions are unified: Upload (FLEXI_MEDIA_ACTION_UPLOAD), My Files, URL, Edit, Clear, Fetch. The SharedMedia field manages remote media (YouTube, Vimeo, Dailymotion, embed): it does not use the file manager.
6. Limit downloads per group (new in 5.5)
- Open Configuration > Download limits.
- Enable Download limit (
dl_limit_enable). - Choose the counting mode:
- Any: every download counts;
- Unique: the same file counts only once in the window.
- Define the sliding window (
dl_limit_windowand its unit: minutes, hours, days). - Add Group / Limit rows: one limit per Joomla group;
-1means unlimited. - Adjust the guest multiplier (
dl_limit_guest_ip_factor), which also identifies visitors by IP. - Optionally fill the HTML message displayed when the quota is reached (
dl_limit_modal_html). - For a specific field, use
dl_limit_override: Use component, Use field or None.
core.admin users are never limited. If a user belongs to several groups, the most generous quota applies. Logs are kept in #__flexicontent_download_log.
:::warning Download, not view
The quota only applies to download, not to file viewing. The affected button is disabled with aria-disabled="true" and a modal explains the block.
:::
7. Rights and maintenance
| Right | Effect |
|---|---|
core.manage | Access to FLEXIcontent administration |
flexicontent.managefiles | Direct access to the frontend manager |
flexicontent.uploadfiles | Upload files |
flexicontent.viewallfiles | See all users’ files and the uploader column |
flexicontent.editfileproperties | Edit language, access, stamp, path |
flexicontent.deletefile / deleteownfile | Delete |
The Orphaned files maintenance lists unused files, with “Skip recent” box, search, exportable list and deletion by batches of 25. A confirmation is requested; deletion with disassociation warns that links manually entered in articles are kept.
Good to know
- The Uploader column is hidden if you do not have
viewallfiles. custom1/custom2columns disappear if the property is not enabled.- At the current code state, Escape closes the picker filter panel or a zoomed thumbnail, but not the whole “My Files” window.
- The item form checks file edit permission before saving its properties.