/
FileUpload
FileUpload
https://github.com/magesuite/file-upload
The module adds the possibility to upload additional types of files into the media gallery. This module creates a new widget called FileUrl
that allows uploading a file.
Installation
This module is a part of MageSuite metapackage
Installation if metapackage is not used:
composer require "creativestyle/magesuite-file-upload" ^1.0.0
Admin settings
Allowed file types:
<item name="pdf" xsi:type="string">application/pdf</item>
<item name="doc" xsi:type="string">application/msword</item>
<item name="docm" xsi:type="string">application/vnd.ms-word.document.macroEnabled.12</item>
<item name="docx" xsi:type="string">application/vnd.openxmlformats-officedocument.wordprocessingml.document</item>
<item name="csv" xsi:type="string">text/plain</item>
<item name="xml" xsi:type="string">application/xml</item>
<item name="xls" xsi:type="string">application/vnd.ms-office</item>
<item name="xlsx" xsi:type="string">application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</item>
<item name="zip" xsi:type="string">application/zip</item>
<item name="tar" xsi:type="string">application/x-tar</item>
<item name="rar" xsi:type="string">application/x-rar</item>
<item name="mp4" xsi:type="string">video/mp4</item>
In order to use the FileUrl widget open WYSIWYG Editor
and choose widgets and then File URL
widget:
Then click Choose file...
button and choose a file from the image gallery:
Backend
Image manipulation operations are disabled for non-image files
Review of documentation is needed
Related content
Media
Read with this
ImageOptimization
ImageOptimization
Read with this
Nfz
Read with this
MageSuiteFrontend
MageSuiteFrontend
Read with this
ElasticsuiteAddons
ElasticsuiteAddons
Read with this
Getting Started
Getting Started
More like this