"Fossies" - the Fresh Open Source Software Archive

Member "neos-development-collection-7.0.1/Neos.Media/Configuration/Settings.yaml" (23 Feb 2021, 4391 Bytes) of package /linux/www/neos-development-collection-7.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Settings.yaml": 7.0.0_vs_7.0.1.

    1 Neos:
    2   Flow:
    3     persistence:
    4       doctrine:
    5         eventListeners:
    6           Neos\Media\Domain\EventListener\ImageEventListener:
    7             events:
    8               - postRemove
    9             listener: Neos\Media\Domain\EventListener\ImageEventListener
   10     mvc:
   11       routes:
   12         Neos.Media: true
   13 
   14   Media:
   15     # Enable asynchronous thumbnails
   16     asyncThumbnails: true
   17     # Thumbnail presets
   18     thumbnailPresets: {  }
   19     # Automatically create thumbnails for configured presets when assets are added
   20     autoCreateThumbnailPresets: true
   21 
   22     iconSet:
   23       path: 'resource://Neos.Media/Public/IconSets/vivid'
   24       extension: 'svg'
   25 
   26     assetSources:
   27       'neos':
   28         assetSource: 'Neos\Media\Domain\Model\AssetSource\Neos\NeosAssetSource'
   29         assetSourceOptions:
   30           icon: 'resource://Neos.Media/Public/Icons/NeosWhite.svg'
   31           description: 'Assets in the local asset storage'
   32           # asyncThumbnails: defaults to the value of Neos:Media:asyncThumbnails
   33           asyncThumbnails: ~
   34 
   35 
   36     asset:
   37       modelMappingStrategy:
   38         default: Neos\Media\Domain\Model\Document
   39         patterns:
   40           '[image/.*]':
   41             className: Neos\Media\Domain\Model\Image
   42           '[audio/.*]':
   43             className: Neos\Media\Domain\Model\Audio
   44           '[video/.*]':
   45             className: Neos\Media\Domain\Model\Video
   46     image:
   47       defaultOptions:
   48         # Image quality, from 0 to 100
   49         quality: 90
   50         convertCMYKToRGB: true
   51         # Image formats that shall always be converted regardless wether an adjustment was applied or not
   52         # The key is the the source media-type and the value is the target media-type or file-extension
   53         # like "image/tiff: image/jpeg". Please ensure the target format is supported by the imagine-driver.
   54         convertFormats: []
   55         interlace: '%\Imagine\Image\ImageInterface::INTERLACE_NONE%'
   56         # defines the filter to use for resize operations.
   57         # Note that the default GD driver only supports the FILTER_UNDEFINED.
   58         # Check the \Imagine\Image\ImageInterface class for a reference of all filters.
   59         # They roughly line up with ImageMagick filters, so read up on those to see differences.
   60         # A very cheap filter with reasonable quality would be "FILTER_BOX", alternative is "FILTER_CATROM".
   61         resizeFilter: '%\Imagine\Image\ImageInterface::FILTER_UNDEFINED%'
   62 
   63     # Variant presets
   64     variantPresets: []
   65     # Automatically create asset variants for configured presets when assets are added
   66     autoCreateImageVariantPresets: false
   67 
   68     thumbnailGenerators:
   69 
   70       Neos\Media\Domain\Model\ThumbnailGenerator\DocumentThumbnailGenerator:
   71         resolution: 120
   72         supportedExtensions:
   73           - pdf
   74           - eps
   75           - ai
   76         paginableDocuments:
   77           - pdf
   78       Neos\Media\Domain\Model\ThumbnailGenerator\FontDocumentThumbnailGenerator:
   79         supportedExtensions:
   80           - ttf
   81           - otf
   82 
   83   DocTools:
   84     collections:
   85       Media:
   86         commandReferences:
   87           - 'Media:Commands'
   88         references:
   89           - 'Media:ViewHelpers'
   90           - 'Media:Validators'
   91     commandReferences:
   92       'Media:Commands':
   93         title: 'Media Command Reference'
   94         packageKeys:
   95           - Neos.Media
   96         savePathAndFilename: '%FLOW_PATH_PACKAGES%Neos/Neos.Media/Documentation/References/Commands.rst'
   97     references:
   98       'Media:Validators':
   99         title: 'Media Validator Reference'
  100         savePathAndFilename: '%FLOW_PATH_PACKAGES%Neos/Neos.Media/Documentation/References/Validators.rst'
  101         affectedClasses:
  102           parentClassName: Neos\Flow\Validation\Validator\AbstractValidator
  103           classNamePattern: '/^Neos\\Media\\Validator\\.*$/i'
  104         parser:
  105           implementationClassName: Neos\DocTools\Domain\Service\FlowValidatorClassParser
  106       'Media:ViewHelpers':
  107         title: 'Media ViewHelper Reference'
  108         savePathAndFilename: '%FLOW_PATH_PACKAGES%Neos/Neos.Media/Documentation/References/ViewHelpers.rst'
  109         affectedClasses:
  110           parentClassName: Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper
  111           classNamePattern: '/^Neos\\Media\\ViewHelpers\\.*$/i'
  112         parser:
  113           implementationClassName: Neos\DocTools\Domain\Service\FluidViewHelperClassParser
  114           options:
  115             namespaces:
  116               neos.media: Neos\Media\ViewHelpers
  117