.. include:: ../../Includes.txt .. _fields-media: Media ===== .. figure:: ../../Images/FieldTypes/Media.svg :alt: Media :class: float-left :width: 64px Media field using :ref:`FAL`. .. rst-class:: clear-both .. code-block:: php 'type' => 'inline', 'foreign_table' => 'sys_file_reference', 'overrideChildTca' => [ 'columns' => [ 'uid_local' => [ 'config' => [ 'appearance' => [ 'elementBrowserAllowed' => 'vimeo,youtube', ], ], ], ], ], .. figure:: ../../Images/FieldTypes/MediaPreview.png :alt: Media field :class: with-border Media field Available TCA options --------------------- * `onlineMedia` (custom Mask option, which toggles available online media types) * :ref:`config.minitems ` * :ref:`config.maxitems ` * :ref:`allowedFileExtensions ` (used in :ref:`overrideChildTca `) * :ref:`config.appearance.collapseAll ` * :ref:`config.appearance.expandSingle ` * :ref:`config.appearance.useSortable ` * :ref:`config.appearance.elementBrowserEnabled ` * :ref:`config.appearance.fileUploadAllowed ` * :ref:`config.appearance.fileByUrlAllowed ` * :ref:`config.appearance.createNewRelationLinkTitle ` * :ref:`config.appearance.enabledControls ` * :ref:`l10n_mode ` * :ref:`config.behaviour.allowLanguageSynchronization ` * :ref:`config.appearance.showPossibleLocalizationRecords ` * :ref:`config.appearance.showAllLocalizationLink ` * :ref:`config.appearance.showSynchronizationLink ` See a complete overview of Inline TCA options in the :ref:`official documentation `.