Skip to main content

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:

LevelEntryRole
ManagerComponents > FLEXIcontent > Files (view=filemanager)Global list, upload, properties, rights, statistics, orphaned files
LibraryMy Files from a field (view=fileselement)Reuse an existing file in an item
FieldsFile, Image, MediaFile, SharedMediaUpload, 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.deletefile and core.edit on com_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​

  1. Click Upload files in the manager or on a field upload icon.
  2. Drag your files into the zone Drop your files here or click to choose them, or click to select.
  3. Check the displayed restrictions: Accepted file types, maximum number of files and maximum size.
  4. Use the preview (image, PDF, audio, video, Office) if needed, then start the transfer.
  5. 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”)​

  1. In an item form, open a File, Image or MediaFile field.
  2. Click My Files (FLEXI_MY_FILES). The library opens in a modal window.
  3. 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.
  4. Check the desired files, then click Insert.
  5. 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.

caution

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:

ValueBehavior
0Inline upload only
1Inline upload + secure My Files + URL
2Like 1 + Joomla Media manager
3URL + Joomla Media manager; no FLEXIcontent upload
4Joomla Media manager only
5Inline 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.

note

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)​

  1. Open Configuration > Download limits.
  2. Enable Download limit (dl_limit_enable).
  3. Choose the counting mode:
    • Any: every download counts;
    • Unique: the same file counts only once in the window.
  4. Define the sliding window (dl_limit_window and its unit: minutes, hours, days).
  5. Add Group / Limit rows: one limit per Joomla group; -1 means unlimited.
  6. Adjust the guest multiplier (dl_limit_guest_ip_factor), which also identifies visitors by IP.
  7. Optionally fill the HTML message displayed when the quota is reached (dl_limit_modal_html).
  8. 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​

RightEffect
core.manageAccess to FLEXIcontent administration
flexicontent.managefilesDirect access to the frontend manager
flexicontent.uploadfilesUpload files
flexicontent.viewallfilesSee all users’ files and the uploader column
flexicontent.editfilepropertiesEdit language, access, stamp, path
flexicontent.deletefile / deleteownfileDelete

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 / custom2 columns 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.

See also​