Skip to content

Commit

Permalink
Merge pull request #192 from kuzmany/configurable_stream_extensions
Browse files Browse the repository at this point in the history
Configurable assets stream extensions
  • Loading branch information
RCheesley authored Jan 9, 2024
2 parents 1a17610 + 2e5db49 commit 2705a29
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion docs/components/assets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,5 +137,24 @@ It's possible to delete an Asset by clicking on the 'delete' button while viewin

.. warning::
Once deleted, you can't retrieve an Asset, and statistics relating to the number of downloads for that Asset are no longer be available. Contact Points accumulated as a result of accessing the resource remain. It's recommended where possible to unpublish Assets which are no longer in use - in future there may be an archive feature.


Display Assets directly in the browser
============================

By default, Mautic supports the following file types for direct display in the browser:

.. vale off
- gif
- jpg
- jpeg
- mpg
- mpeg
- mp3
- pdf
- png
- wav

.. vale on
If you want to change this default behavior, you can modify the ``local.php`` file and set an array of extensions for the ``streamed_extensions`` parameter.

0 comments on commit 2705a29

Please sign in to comment.