Guidevera

File Links & Download Counter

Every file in Guidevera has a stable download URL in the format /downloads/{id}/filename. The id is a permanent database ID that never changes.

Display mode

Each file has a configurable display mode that controls how it behaves when the link is clicked:

  • Inline — the file opens directly in the browser (suitable for PDFs, images, videos).
  • Download (attachment) — the browser prompts the user to save the file.

The display mode can be changed in the file manager by Contributors and Admins (edit icon next to the file).

Visibility settings

Each file has four independent visibility flags — one per role: Guest, Editor, Contributor, Admin. If the flag for a role is unchecked, users with that role receive a 403 Forbidden response when they try to access the file. This allows you to restrict sensitive files to logged-in users only, or to specific roles.

Download counter

Every time a file is downloaded or viewed, its download counter is incremented atomically. The counter is shown in the file manager next to each file. It counts all accesses including inline views — it is not limited to forced downloads.

Range requests

The download endpoint supports HTTP range requests. This enables video seeking in the browser and resumable downloads for large files.

The Media Library Collaboration
Related pages: Linking to Files
display-mode download-counter file-link inline stable-url visibility