Download the PHP package karls/media-bundle without Composer
On this page you can find all versions of the php package karls/media-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download karls/media-bundle
More information about karls/media-bundle
Files in karls/media-bundle
Package media-bundle
Short Description Bundle for Unite-Cms. Provides a new Field Type for handling S3 Stored files select from Storage and save it right.
License
Informations about the package media-bundle
Karls Media Bundle for Unite-Cms
!! The config thumbnail_url
is in the next version not available anymore. Please delete it in all your configs. !!
Provides a new Field Type for handling S3 Stored files select from Storage and save it right.
Installation
via composer
in config/bundles.php
in config/packages/assets.yaml
in config/routes/unite-cms.php
Usage
Media
unite cms does not manage any files directly but provides a file field that stores a reference using any s3 compatible API (Amazon, minio.io etc.). The file field renders an upload input element that allows the content editors to upload files directly to the s3 compatible server, using a presgined upload url. The file filed also reacts on content delete and update events and tries to delete files, that are not used anymore. In order to use the file field, set the required bucket and optional file_type settings:
MediaImage
The image type is an extension of the file input type that renders a thumbnail preview next to the upload input type and limits file_type to "png,gif,jpeg,jpg":
The optional thumbnail url allows you to add a link to the file directly or to any thumbnailing service. For a description of the bucket setting, please see the file type documentation.