.. include:: ../../Includes.txt .. _fields-file: File ==== .. figure:: ../../Images/FieldTypes/File.svg :alt: File :class: float-left :width: 64px File field using :ref:`FAL`. .. rst-class:: clear-both .. code-block:: php 'type' => 'inline', 'foreign_table' => 'sys_file_reference' .. figure:: ../../Images/FieldTypes/FilePreview.png :alt: File field :class: with-border File field Available TCA options --------------------- * :ref:`imageoverlayPalette ` (custom Mask option, which enables the core TCA palette `imageoverlayPalette` used for images) * :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.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 `.