Functional description

Manages the documents and images attached to an entity: upload, view, download, delete, set a default image and take webcam snapshots. The block can appear multiple times on a dashboard. Viewing requires the right entity_document_read.

Functions

  • Four modes: a single image, images only, attachments only, or images and attachments together
  • Images and attachments are shown separately, with a type icon per attachment
  • HTML documents are shown in a dialog

Actions

  • Upload files via a form, several at once (entity_document_create)
  • Take a webcam snapshot
  • Download a document or display an image
  • Delete a document (entity_document_delete)
  • Set a default image and adjust the block settings (mode and default image)
The following rights may be necessary in order to use this functionality.